beamable / BeamableProduct

The beamable product suite including com.beamable, com.beamable.server, microservice base image, portal, the installer, and build scripts
Other
3 stars 0 forks source link

NoConnectivityException should carry info about its cause #3495

Open allister-beamable opened 2 weeks ago

allister-beamable commented 2 weeks ago

Is your feature request related to a problem? Please describe.

When game builds are "in the wild" sometimes issues may occur that include or coincide with a NoConnectivityException. Since NoConnectivityException can happen in a few different contexts and with a few different underlying causes, it would be great to have a way to tell from the stack-trace AND any corresponding log message what relevant information pertains to the connectivity exception.

Describe the solution you'd like

The stack-trace and corresponding log messages for every NoConnectivityException should contain information about where and how the exception originated:

These keywords should be visible to, and easy to interpret by, both Game Makers and Beamable staff. Additionally, if they end up surfaced in a player-facing context, they should be reasonably easy for players to explain to Game Makers when the players contact customer support.

cdhanna commented 2 weeks ago

we want to know which requests generate the exception, where they come from, if they're coming from socket errors,

gabrielbeamable commented 1 week ago

Make sure all of the information we are adding is actually added to the exception that is going to be logged in the console.

gabrielbeamable commented 1 week ago

Do the low hanging fruits one, get the easiest information we can get and show to Allister, to see if that is enough.