mirror of
https://github.com/aljazceru/signal-cli.git
synced 2025-12-27 02:54:23 +01:00
Add hint to sticker upload error message
This commit is contained in:
@@ -35,7 +35,7 @@ public class UploadStickerPackCommand implements LocalCommand {
|
||||
var url = m.uploadStickerPack(path);
|
||||
writer.println("{}", url);
|
||||
} catch (IOException e) {
|
||||
throw new IOErrorException("Upload error: " + e.getMessage());
|
||||
throw new IOErrorException("Upload error (maybe image size too large):" + e.getMessage());
|
||||
} catch (StickerPackInvalidException e) {
|
||||
throw new UserErrorException("Invalid sticker pack: " + e.getMessage());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user