Skip to content

PLAT-10728 null guard against possible null exceptions #734

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

Merged
merged 2 commits into from
Aug 8, 2023

Conversation

richardelms
Copy link
Contributor

@richardelms richardelms commented Aug 7, 2023

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

@richardelms richardelms self-assigned this Aug 7, 2023
@richardelms richardelms requested a review from kstenerud August 7, 2023 13:57
@richardelms richardelms merged commit 0901d44 into next Aug 8, 2023
@richardelms richardelms deleted the 10728-nullGuardInExceptionhandler branch August 8, 2023 09:03
@richardelms richardelms mentioned this pull request Aug 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants