mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-17 15:03:18 +00:00
67694: forgot to log error stack itself
This commit is contained in:
@@ -284,7 +284,7 @@ public class XmlWorkflowFactoryImpl implements XmlWorkflowFactory {
|
||||
Workflow defaultWorkflow = this.getDefaultWorkflow();
|
||||
return (defaultWorkflow.getID().equalsIgnoreCase(workflowName));
|
||||
} catch (Exception e) {
|
||||
log.error("Error while trying to check if " + workflowName + " is the default workflow");
|
||||
log.error("Error while trying to check if " + workflowName + " is the default workflow", e);
|
||||
throw new WorkflowConfigurationException("Error while trying to check if " + workflowName
|
||||
+ " is the default workflow");
|
||||
}
|
||||
|
@@ -35,7 +35,7 @@ public class WorkflowDefinitionConverter implements DSpaceConverter<Workflow, Wo
|
||||
try {
|
||||
restModel.setIsDefault(xmlWorkflowFactory.isDefaultWorkflow(modelObject.getID()));
|
||||
} catch (WorkflowConfigurationException e) {
|
||||
log.error("Error while trying to check if " + modelObject.getID() + " is the default workflow");
|
||||
log.error("Error while trying to check if " + modelObject.getID() + " is the default workflow", e);
|
||||
}
|
||||
return restModel;
|
||||
}
|
||||
|
Reference in New Issue
Block a user