Skip to content
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

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

Open
ThatsNasu opened this issue Apr 26, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@ThatsNasu
Copy link
Contributor

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.

@ThatsNasu ThatsNasu added the bug Something isn't working label Apr 26, 2023
@ThatsNasu ThatsNasu self-assigned this Apr 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant