Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 83fbf9a91e |
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "rbx-upload"
|
name = "rbx-upload"
|
||||||
version = "0.2.8"
|
version = "0.2.9"
|
||||||
description = "Roblox asset upload client"
|
description = "Roblox asset upload client"
|
||||||
requires-python = ">=3.13"
|
requires-python = ">=3.13"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
|
|||||||
@@ -297,7 +297,7 @@ class RobloxClient:
|
|||||||
if response.status_code == 429:
|
if response.status_code == 429:
|
||||||
raise RateLimitError("Rate limit hit during collectible publish.")
|
raise RateLimitError("Rate limit hit during collectible publish.")
|
||||||
if response.status_code in (401, 403):
|
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()
|
response.raise_for_status()
|
||||||
data = response.json()
|
data = response.json()
|
||||||
|
|||||||
Reference in New Issue
Block a user