Fix throwing uncaught exceptions in AsyncCommandBuilder.
This commit is contained in:
@@ -144,6 +144,7 @@ public final class AsyncCommandBuilder<T> {
|
|||||||
if (exceptionConverter != null) {
|
if (exceptionConverter != null) {
|
||||||
try {
|
try {
|
||||||
exceptionConverter.convert(orig);
|
exceptionConverter.convert(orig);
|
||||||
|
throw orig;
|
||||||
} catch (CommandException converted) {
|
} catch (CommandException converted) {
|
||||||
Component message;
|
Component message;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user