Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Added exception logging in osm_responder subclasses #187

Merged
merged 1 commit into from
May 27, 2019

Conversation

mmd-osm
Copy link
Collaborator

@mmd-osm mmd-osm commented May 27, 2019

Missing database user permissions were only sent to the client as <error> tag, leaving no information about such issue in the local log file. From an operations pov, this makes it next to impossible to detect and analyze such issues.

This pull request logs all exceptions during output, which catches database exceptions, but might also log issues about broken client connections. If this too noisy, a more fine granular logging based on exception type can be added in a subsequent PR.

Fixes #180

@mmd-osm mmd-osm merged commit edb5acc into zerebubuth:master May 27, 2019
@mmd-osm mmd-osm deleted the patch/logging_output branch July 14, 2019 19:28
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ERROR: permission denied for relation changeset_tags
1 participant