Skip to content

Use preset log error class when message does not match pattern #45

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 1 commit into from
Jul 20, 2017

Conversation

kattrali
Copy link
Contributor

In the case that a log message can't be broken into "class: message" format, use the entire log as the message and set an error class based on the severity of the log. For example the following log message:

Debug.LogError("MetalDetector detected metals");

Will generate an error report with an error class of UnityLogError and the message MetalDetector detected metals.

In the case that a log message can't be broken into "class: message"
format, use the entire log as the message and set an error class based
on the severity of the log.

This change pre-supposes that we make a backend change to how messages
are grouped, taking error title + top line of stacktrace into account
when grouping for unity.
@kattrali kattrali merged commit 0555f22 into master Jul 20, 2017
@kattrali kattrali deleted the kattrali/improve-log-error-class branch July 20, 2017 20:09
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