Skip to content

Commit

Permalink
Fixing exception log entry.
Browse files Browse the repository at this point in the history
  • Loading branch information
mederly committed Mar 20, 2017
1 parent 9a892a6 commit f4d8a50
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -135,7 +135,7 @@ public TaskRunResult run(Task task) {
runResult.setRunResultStatus(TaskRunResult.TaskRunResultStatus.FINISHED);
} catch (Exception e) { // too many various exceptions; will be fixed with java7 :)
String message = "An exception occurred within model operation, in task " + task;
LoggingUtils.logException(LOGGER, message, e);
LoggingUtils.logUnexpectedException(LOGGER, message, e);
result.recordPartialError(message, e);
// TODO: here we do not know whether the error is temporary or permanent (in the future we could discriminate on the basis of particular exception caught)
runResult.setRunResultStatus(TaskRunResult.TaskRunResultStatus.TEMPORARY_ERROR);
Expand Down

0 comments on commit f4d8a50

Please sign in to comment.