Skip to content

Error when parsing invalid linenumber to int32 #55

@Thendon

Description

@Thendon

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);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions