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

Use the error console when there is an exception #151

Merged
merged 6 commits into from
Jul 2, 2024
Merged

Conversation

mivano
Copy link
Owner

@mivano mivano commented May 29, 2024

See #150

Need to consider if this is breaking. It will capture any exceptions and render it differently.

@mivano
Copy link
Owner Author

mivano commented Jun 14, 2024

@MvRoo Is this something useful for your use case?

@mivano mivano linked an issue Jun 14, 2024 that may be closed by this pull request
@MvRoo
Copy link
Contributor

MvRoo commented Jul 2, 2024

@mivano Yes, this looks like a good solution to get the error info into the error stream. I guess in the current version the error is written to the standard output stream, which results in it being written to the output file. Did you validate that this works correctly when an unhandled exception occurs?

@mivano
Copy link
Owner Author

mivano commented Jul 2, 2024

Yes tested, but you need to use the special system as shown in the readme file. You can do something similar in powershell.

@mivano mivano enabled auto-merge July 2, 2024 20:28
@mivano mivano merged commit d02fb91 into main Jul 2, 2024
2 checks passed
@mivano mivano deleted the feat/errors branch July 2, 2024 20:28
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.

Piping the output to a file hides actual errors
2 participants