Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
rhbz903964 - Error messages are now communicated to the client on asy…
…nc push.
  • Loading branch information
Carlos Munoz committed Feb 19, 2013
1 parent af0a61c commit c199df6
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -197,7 +197,7 @@ protected void handleThrowable(ProcessHandle handle, Throwable t)
{
AsynchronousProcessResourceService.log.error("Error pushing source document", t);
}
super.handleThrowable(handle, t); //To change body of overridden methods use File | Settings | File Templates.
super.handleThrowable(handle, t);
}
}.withIdentity(identity);

Expand Down Expand Up @@ -276,7 +276,7 @@ protected void handleThrowable(MessagesProcessHandle handle, Throwable t)
{
AsynchronousProcessResourceService.log.error("Error pushing translations", t);
}
super.handleThrowable(handle, t); //To change body of overridden methods use File | Settings | File Templates.
super.handleThrowable(handle, t);
}
}.withIdentity(identity);

Expand Down Expand Up @@ -330,7 +330,7 @@ public ProcessStatus getProcessStatus(@PathParam("processId") String processId)
if( handle instanceof MessagesProcessHandle )
{
MessagesProcessHandle messagesProcessHandle = (MessagesProcessHandle)handle;
status.setMessages( messagesProcessHandle.getMessages() );
status.getMessages().addAll( messagesProcessHandle.getMessages() );
}

return status;
Expand Down

0 comments on commit c199df6

Please sign in to comment.