Print stack trace of exception causes in verbose mode

This commit is contained in:
AsamK 2021-09-08 20:38:24 +02:00
parent e3c37a0239
commit 2044a7d7a5
32 changed files with 66 additions and 60 deletions

View file

@ -43,8 +43,7 @@ public class GetUserStatusCommand implements JsonRpcLocalCommand {
try {
registered = m.areUsersRegistered(new HashSet<>(ns.getList("recipient")));
} catch (IOException e) {
logger.debug("Failed to check registered users", e);
throw new IOErrorException("Unable to check if users are registered");
throw new IOErrorException("Unable to check if users are registered", e);
}
// Output