-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spotify network error narrowcasting #926
Comments
@supertom01 Would this help? It should already catch the exceptions, so I've changed it to just print the type of error instead of also providing specifics. |
Seems that catching the union of two exceptions goes wrong, so reopening for a fix |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The updating of the Spotify status for narrowcasting tends to break quite often. Since the connection is sometimes blocked. Instead of breaking the webserver, it is better to just ignore it, since it happens rather often. Or to still fail, but not that aggressively (since if Spotify is actually down we do want to know)
The error originates here: File "./amelie/narrowcasting/views.py", line 123, in room_spotify_now_playing
res = requests.get("https://api.spotify.com/v1/me/player",
Exception Type: ConnectionError at /narrowcasting/room/spotify/
Exception Value: HTTPSConnectionPool(host='api.spotify.com', port=443): Max retries exceeded
The text was updated successfully, but these errors were encountered: