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

improve error reporting #1108

Merged
merged 1 commit into from
Sep 26, 2022
Merged

Conversation

eladyn
Copy link
Member

@eladyn eladyn commented Aug 26, 2022

fixes #1107

@chinchilla-manaka, it would be great, if you'd be able to test this version on a system without syslog-ng installed and see if it improves the situation.


In addition to that, this builds upon #789 and improves the error reporting in main overall. By relying on the panic hook from eyre / color_eyre instead of using our own, we get more beautiful and clearer panic messages that are also easier to debug.

Example:
image

@eladyn eladyn force-pushed the improve_error_reporting branch from d5588d8 to e555ef6 Compare September 8, 2022 23:45
@eladyn eladyn requested a review from a team September 9, 2022 15:39
@SimonTeixidor
Copy link
Member

Looks good to me!

@eladyn eladyn merged commit a4316df into Spotifyd:master Sep 26, 2022
@eladyn
Copy link
Member Author

eladyn commented Sep 26, 2022

Thanks to both of you!

@eladyn eladyn deleted the improve_error_reporting branch September 26, 2022 15:53
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.

Thread 'main' panicked at 'Couldn't initialize logger'...
3 participants