added log to problem report exception handler (#24856)
This commit is contained in:
@@ -166,6 +166,8 @@ def common_exceptions_400(func):
|
||||
except (AlreadyRunningError, QueueConnectionError, AttributeError) as err:
|
||||
message = six.text_type(err)
|
||||
|
||||
log.exception("ProblemResponsesCommonException: Message: %s", message)
|
||||
|
||||
if use_json:
|
||||
return JsonResponseBadRequest(message)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user