BF [ 1983118 ] Not all doc processing exceptions are displayed to user
This commit is contained in:
parent
89092ef2ed
commit
65a3041424
|
@ -889,10 +889,17 @@ public class MWFActivity extends X_AD_WF_Activity implements Runnable
|
||||||
{
|
{
|
||||||
doc = (DocAction)m_po;
|
doc = (DocAction)m_po;
|
||||||
//
|
//
|
||||||
success = doc.processIt (m_node.getDocAction()); // ** Do the work
|
try {
|
||||||
setTextMsg(doc.getSummary());
|
success = doc.processIt (m_node.getDocAction()); // ** Do the work
|
||||||
processMsg = doc.getProcessMsg();
|
setTextMsg(doc.getSummary());
|
||||||
m_docStatus = doc.getDocStatus();
|
processMsg = doc.getProcessMsg();
|
||||||
|
m_docStatus = doc.getDocStatus();
|
||||||
|
}
|
||||||
|
catch (Exception e) {
|
||||||
|
if (m_process != null)
|
||||||
|
m_process.setProcessMsg(e.getLocalizedMessage());
|
||||||
|
throw e;
|
||||||
|
}
|
||||||
// Post Immediate
|
// Post Immediate
|
||||||
if (success && DocAction.ACTION_Complete.equals(m_node.getDocAction()))
|
if (success && DocAction.ACTION_Complete.equals(m_node.getDocAction()))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue