fix: throw Exception on all 4xx and 5xx status codes (#418) · spotify-web-api-java/spotify-web-api-java@7f0aa3e · GitHub
Skip to content

Commit 7f0aa3e

Browse files
julius-ddargmuesli
andauthored
fix: throw Exception on all 4xx and 5xx status codes (#418)
* fix: throw Exception on all 4xx and 5xx status codes I had a temporary bug in my usage of this nice lib that is likely caused by Spotify replying with a 4xx or 5xx status code that was handled by the lib as 2xx status code. * chore: format --------- Co-authored-by: Jonas Thelemann <e-mail@jonas-thelemann.de>
1 parent d4d4927 commit 7f0aa3e

2 files changed

Lines changed: 50 additions & 0 deletions

File tree

src/main/java/se/michaelthelin/spotify/SpotifyHttpManager.java

Lines changed: 5 additions & 0 deletions
Lines changed: 45 additions & 0 deletions

0 commit comments

Comments
 (0)