mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
RuntimeExec class is tighter when the actual command is unavailable and guarantees a failure error code.
The RuntimeExecutableContentTransformer generates a more verbose error message when the tranformer fails to validate on startup. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5888 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -146,6 +146,10 @@ public class RuntimeExecutableContentTransformer extends AbstractContentTransfor
|
||||
ExecutionResult result = checkCommand.execute();
|
||||
// check the return code
|
||||
available = result.getSuccess();
|
||||
if (!available)
|
||||
{
|
||||
logger.error("Failed to start a runtime executable content transformer: \n" + result);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user