Skip to content

Log implementations not displaying line numbers correctly in exception message #49

@ThatsNasu

Description

@ThatsNasu

When logging an exception with ConsoleLog or FileLog by passing the exception to a new LogMessage instance and passing the logMessage into the log method, the line number displayed in the exception message wont be displayed correctly. the linenumbers in the stacktrace seem to be okay.

to replicate: just set up a simple program that uses the ConsoleLog or FileLog, throw an exception and pass it into a new LogMessage instance and then pass the instance to the log method.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions