mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Tweak replication action executor exceptions
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21762 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -197,7 +197,7 @@ public class ReplicationActionExecutor extends ActionExecuterAbstractBase {
|
||||
toTransfer = expandPayload(replicationDef);
|
||||
} catch(Exception e) {
|
||||
lock.close();
|
||||
throw new ReplicationServiceException("Error processing payload list", e);
|
||||
throw new ReplicationServiceException("Error processing payload list - " + e.getMessage(), e);
|
||||
}
|
||||
|
||||
// Ask the transfer service to do the replication
|
||||
@@ -220,7 +220,7 @@ public class ReplicationActionExecutor extends ActionExecuterAbstractBase {
|
||||
if(! (e instanceof TransferCancelledException))
|
||||
{
|
||||
lock.close();
|
||||
throw new ReplicationServiceException("Error executing transfer", e);
|
||||
throw new ReplicationServiceException("Error executing transfer - " + e.getMessage(), e);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user