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

Fix possible panic for unhandled template write errors #205

Merged
merged 3 commits into from
Apr 14, 2021

Conversation

malud
Copy link
Collaborator

@malud malud commented Apr 13, 2021

In this case a previously triggered error gets written to the client via error template, any write error would panic.
Pass the configured "daemon" logger and log those errors with the templates context.

This allows at least request/uid correlation.

@malud malud added the bug Something isn't working label Apr 13, 2021
@alex-schneider alex-schneider merged commit 376c5d5 into master Apr 14, 2021
@alex-schneider alex-schneider deleted the fix-handle-tpl-errors branch April 14, 2021 11:56
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

Successfully merging this pull request may close these issues.

2 participants