Expose Command/Context from exceptions where possible (#204)
* Expose Command/Context from exceptions where possible * Update changelog
This commit is contained in:
parent
a6f8159410
commit
7347ced0db
7 changed files with 68 additions and 7 deletions
|
|
@ -120,7 +120,7 @@ class MethodCommandExecutionHandler<C> implements CommandExecutionHandler<C> {
|
|||
} catch (final Error e) {
|
||||
throw e;
|
||||
} catch (final Throwable throwable) {
|
||||
throw new CommandExecutionException(throwable);
|
||||
throw new CommandExecutionException(throwable, commandContext);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue