Skip to content

Commit

Permalink
perf: ChannelArgument完整的报错信息
Browse files Browse the repository at this point in the history
  • Loading branch information
huanmeng-qwq committed Aug 27, 2024
1 parent 7a6b061 commit fc97955
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ protected ParseResult<T> parse(Invocation<CommandSender> invocation, Argument<T>
}
return ParseResult.success((T) channel);
} catch (final Exception e) {
return ParseResult.failure(new CommandException("Channel not found"));
return ParseResult.failure(new CommandException("Channel not found", e));
}
}

Expand Down

0 comments on commit fc97955

Please sign in to comment.