fix: include response body in publish_collectible auth error

This commit is contained in:
2026-03-07 13:54:27 -05:00
parent 698f4b10aa
commit 83fbf9a91e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
[project]
name = "rbx-upload"
version = "0.2.8"
version = "0.2.9"
description = "Roblox asset upload client"
requires-python = ">=3.13"
dependencies = [
+1 -1
View File
@@ -297,7 +297,7 @@ class RobloxClient:
if response.status_code == 429:
raise RateLimitError("Rate limit hit during collectible publish.")
if response.status_code in (401, 403):
raise AuthError("Not authorized to publish this collectible.")
raise AuthError(f"Not authorized to publish this collectible ({response.status_code}): {response.text}")
response.raise_for_status()
data = response.json()