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

WriteLogger error handling? #111

Closed
Ryder17z opened this issue Aug 6, 2022 · 2 comments
Closed

WriteLogger error handling? #111

Ryder17z opened this issue Aug 6, 2022 · 2 comments

Comments

@Ryder17z
Copy link

Ryder17z commented Aug 6, 2022

what's the error handling like for WriteLogger?

I don't see anything for handling if the given path/file cannot be written to
(either due to permissions, (b)locking or if the path doesn't exist)

@Drakulix
Copy link
Owner

Drakulix commented Aug 7, 2022

In that case you are likely not able to create a File anyway (or whatever it is you want to be writing to).
But if writing fails during runtime, the error is silently dropped right now (so the application won't panic).

@Ryder17z
Copy link
Author

Ryder17z commented Aug 8, 2022 via email

@Ryder17z Ryder17z closed this as completed Aug 8, 2022
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

No branches or pull requests

2 participants