Skip to content

Fix error raising#69

Open
jaymzh wants to merge 1 commit into
buntine:masterfrom
jaymzh:fix_errors
Open

Fix error raising#69
jaymzh wants to merge 1 commit into
buntine:masterfrom
jaymzh:fix_errors

Conversation

@jaymzh

@jaymzh jaymzh commented Apr 15, 2025

Copy link
Copy Markdown

Currently if you get a 429 (or any other we theoretically catch), we
won't catch it because we're doing string comparisons on integers, and
thus we jsut get a JSON::ParserError.

This fixes that so we get the expected error classes.

In addition it adds a new unknown exception that gives the use some
extra information.

Signed-off-by: Phil Dibowitz phil@ipom.com

Currently if you get a 429 (or any other we theoretically catch), we
won't catch it because we're doing string comparisons on integers, and
thus we jsut get a JSON::ParserError.

This fixes that so we get the expected error classes.

In addition it adds a new unknown exception that gives the use some
extra information.

Signed-off-by: Phil Dibowitz <phil@ipom.com>
@jaymzh

jaymzh commented May 15, 2025

Copy link
Copy Markdown
Author

@buntine - any chance you can look at this (and my other) PR?

@jaymzh

jaymzh commented Mar 14, 2026

Copy link
Copy Markdown
Author

@buntine - ping?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant