Better logging of OAuth issues, in the hope to figure out what's going on.

This commit is contained in:
2016-10-11 17:09:02 +02:00
parent 5dd49fa5dd
commit 4eb8319697
2 changed files with 13 additions and 6 deletions

View File

@@ -307,7 +307,7 @@ class PillarServer(Eve):
super(PillarServer, self).register_error_handlers()
# Register error handlers per code.
for code in (403, 404, 500):
for code in (403, 404, 412, 500):
self.register_error_handler(code, self.pillar_error_handler)
# Register error handlers per exception.