discogs icon indicating copy to clipboard operation
discogs copied to clipboard

Fix error raising

Open jaymzh opened this issue 6 months ago • 1 comments

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 [email protected]

jaymzh avatar Apr 15 '25 18:04 jaymzh