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

Added fallback output to stderr instead of failing init. #1

Merged
merged 4 commits into from
Apr 18, 2020
Merged

Added fallback output to stderr instead of failing init. #1

merged 4 commits into from
Apr 18, 2020

Conversation

pJunger
Copy link
Contributor

@pJunger pJunger commented Apr 18, 2020

Currently, initialization of the logger fails if a terminal cannot be opened.
In my opinion logging should not be a point of failure for any application, so I added a fallback solution that writes directly to stderr as discussed in Stebalien/term#57.

Also ran clippy, rustfmt & updated dependencies (except for time).

Copy link
Owner

@saschagrunert saschagrunert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@saschagrunert saschagrunert merged commit edd3845 into saschagrunert:master Apr 18, 2020
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.

None yet

2 participants