Closed EthanZeigler closed 1 year ago
the server have been down for ages.
is it that you just get errors in the logs or it's a real crash
Real crash, sadly. Server(ish) stops responding directly after this error and the client closes. Disabling and enabling the analytics sadly causes it to work or fail respectfully. This is all on single player btw.
I can't recreate the crash. I just see the exception in the logs.
Very weird.
I'll experiment with this some more tomorrow and see if I can get a better explanation of what's actually happening. Maybe something else in the logging about why it closed.
the analytics server us up once more
but in the next release I'll make sure that the exception is not logged
and I checked the code it's ran in separate thread and the exception is just logged
executor.execute {
try {
sendEvent(name, value)
} catch (t: Throwable) {
Log.error("", t)
}
}
im unable to replicate it now. I guess that's a good thing? lol
So, uh... This is a big boy mistake.
When the analytics server is down and analytics are enabled, the entire game client crashes.
At the time of writing the analytics server appears to be down and there's no error handling for this scenario.
https://github.com/blackd/Inventory-Profiles/blob/88d0fd3a4b1cc60b38825d31affab653802bde69/shared-sources/src/main/java/org/anti_ad/mc/ipnext/IPNInfoManager.kt#L45