bugsnag / bugsnag-unity

Automatic error reporting for Unity games
https://docs.bugsnag.com/platforms/unity
MIT License
89 stars 31 forks source link

PLAT-10728 null guard against possible null exceptions #734

Closed richardelms closed 1 year ago

richardelms commented 1 year ago

Goal

A user reported an exception thrown in the UnityLogMessage constructor. The only possible explination would be a null exception passed to Debug.LogException.

Changeset

Added a null guard to ignore null exceptions.

Testing

Manually tested, E2E not possible