Log trigger server error
This commit is contained in:
parent
bfdafc820e
commit
94e5f171c4
1 changed files with 1 additions and 0 deletions
|
@ -145,6 +145,7 @@ class TriggerHttp(http.server.BaseHTTPRequestHandler):
|
|||
message = str(e)
|
||||
except Exception as e:
|
||||
# cdist/trigger server is broken
|
||||
log.exception(e)
|
||||
code = 500
|
||||
|
||||
self.send_response(code=code, message=message)
|
||||
|
|
Loading…
Reference in a new issue