]> nmode's Git Repositories - signal-cli/commitdiff
Add hint to sticker upload error message
authorAsamK <asamk@gmx.de>
Sat, 31 Jul 2021 15:55:36 +0000 (17:55 +0200)
committerAsamK <asamk@gmx.de>
Sat, 31 Jul 2021 20:19:31 +0000 (22:19 +0200)
src/main/java/org/asamk/signal/commands/UploadStickerPackCommand.java

index a484675785d7cbb80638efc75d185990ee8ac55d..095c7d9697221174daf813cf026df43ded264710 100644 (file)
@@ -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());
         }