Skip to content

Commit

Permalink
RootUpdateContext: better information when modification execute() fails
Browse files Browse the repository at this point in the history
  • Loading branch information
virgo47 committed Jul 30, 2021
1 parent 8333f0c commit 769f75f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ public QObjectMapping<S, Q, R> mapping() {
try {
processModification(modification);
} catch (IllegalArgumentException e) {
logger.warn("Modification failed/not implemented yet: {}", e.toString());
throw new SystemException(e);
logger.warn("Modification failed with '{}': {}", e, modification);
throw new SystemException("Modification failed: " + modification, e);
}
}

Expand Down

0 comments on commit 769f75f

Please sign in to comment.