mirror of
https://github.com/aljazceru/signal-cli.git
synced 2026-01-14 11:24:20 +01:00
Print stack trace of exception causes in verbose mode
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user