diff --git a/pyproject.toml b/pyproject.toml index 92660acf..7995350f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,7 +2,7 @@ [tool.poetry] name = "royalpack" - version = "5.13.8" + version = "5.13.9" description = "A Royalnet command pack for the Royal Games community" authors = ["Stefano Pigozzi "] license = "AGPL-3.0+" diff --git a/royalpack/commands/diario.py b/royalpack/commands/diario.py index 1221e2b9..750244c3 100644 --- a/royalpack/commands/diario.py +++ b/royalpack/commands/diario.py @@ -26,7 +26,7 @@ async def to_imgur(imgur_api_key, photosizes: List[telegram.PhotoSize], caption= }) as request: response = await request.json() if not response["success"]: - raise rc.CommandError("Imgur returned an error in the image upload.") + raise rc.CommandError(f"Imgur returned an error in the image upload: {response}") return response["data"]["link"]