spyke icon indicating copy to clipboard operation
spyke copied to clipboard

Not Raising on Server Side errors

Open djpate opened this issue 2 years ago • 1 comments

Hello,

I've been battling with an issue where the gem won't raise on a 500+ error.

Right now the gem raises on Timeout and Connection Failed I believe but If the response is a 500 or a 404 or 401 it automatically fallsback to an empty array which is not what I would expect since I'm not using the with_fallback option.

What is the best way to handle this?

djpate avatar Dec 09 '22 19:12 djpate