UberLogger
UberLogger copied to clipboard
Error when parsing invalid linenumber to int32
When parsing an invalid linenumber in ExtractInfoFromUnityMessage to int32 Uberlogger is throwing an error. Happened with logs from the Oculus SDK for some reason. To fix this issue I just changed this line.
//lineNumber = Convert.ToInt32(firstMatch.Groups[2].Value);
int.TryParse(firstMatch.Groups[2].Value, out lineNumber);