mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-30 11:00:38 +00:00
Print stack trace of exception causes in verbose mode
This commit is contained in:
parent
e3c37a0239
commit
2044a7d7a5
32 changed files with 66 additions and 60 deletions
|
@ -50,7 +50,7 @@ public class UploadStickerPackCommand implements JsonRpcLocalCommand {
|
|||
writer.write(Map.of("url", url));
|
||||
}
|
||||
} catch (IOException e) {
|
||||
throw new IOErrorException("Upload error (maybe image size too large):" + e.getMessage());
|
||||
throw new IOErrorException("Upload error (maybe image size too large):" + e.getMessage(), e);
|
||||
} catch (StickerPackInvalidException e) {
|
||||
throw new UserErrorException("Invalid sticker pack: " + e.getMessage());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue