Skip to content

Commit

Permalink
add execution id to ExecutionSerializationException message (#2026)
Browse files Browse the repository at this point in the history
  • Loading branch information
asher authored Feb 28, 2018
1 parent 18b2a30 commit 4402865
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ protected Execution buildExecution(@Nonnull Execution execution, @Nonnull Map<St
execution.setOrigin(map.get("origin"));
execution.setTrigger(map.get("trigger") != null ? mapper.readValue(map.get("trigger"), Trigger.class) : NO_TRIGGER);
} catch (Exception e) {
throw new ExecutionSerializationException("Failed serializing execution json", e);
throw new ExecutionSerializationException(String.format("Failed serializing execution json, id: %s", execution.getId()), e);
}

stageIds.forEach(stageId -> {
Expand Down

0 comments on commit 4402865

Please sign in to comment.