Currently the mod throws this error when we run into a twitch pubsub API rate limit. We should handle that case and return a 429 instead
java.io.IOException: Server returned HTTP response code: 500 for URL: **********
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1876)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1474)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
at str_exporter.BackendBroadcaster.broadcastMessage(BackendBroadcaster.java:108)
at str_exporter.BackendBroadcaster.readQueue(BackendBroadcaster.java:87)
at str_exporter.BackendBroadcaster.lambda$new$0(BackendBroadcaster.java:36)
at java.lang.Thread.run(Thread.java:748)01:07:51.325 INFO basemod.BaseMod>
Currently the mod throws this error when we run into a twitch pubsub API rate limit. We should handle that case and return a 429 instead