mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 18:40:39 +00:00
Add hint to sticker upload error message
This commit is contained in:
parent
9e72248e1b
commit
07893546d0
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ public class UploadStickerPackCommand implements LocalCommand {
|
||||||
var url = m.uploadStickerPack(path);
|
var url = m.uploadStickerPack(path);
|
||||||
writer.println("{}", url);
|
writer.println("{}", url);
|
||||||
} catch (IOException e) {
|
} 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) {
|
} catch (StickerPackInvalidException e) {
|
||||||
throw new UserErrorException("Invalid sticker pack: " + e.getMessage());
|
throw new UserErrorException("Invalid sticker pack: " + e.getMessage());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue