Skip to content

Commit a24dae3

Browse files
authored
Merge pull request #5898 from TaykYoku/8.0_OAuth-3
[integration] print error details/callstack in BaseRequestHandler
2 parents a7b5630 + 92f7c67 commit a24dae3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DIRAC/Core/Tornado/Server/private/BaseRequestHandler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,7 @@ def __prepare(self):
616616
# If an error occur when reading certificates we close connection
617617
# It can be strange but the RFC, for HTTP, say's that when error happend
618618
# before authentication we return 401 UNAUTHORIZED instead of 403 FORBIDDEN
619-
sLog.debug(str(e))
619+
sLog.exception(e)
620620
sLog.error("Error gathering credentials ", "%s; path %s" % (self.getRemoteAddress(), self.request.path))
621621
raise HTTPError(HTTPStatus.UNAUTHORIZED, str(e))
622622

0 commit comments

Comments
 (0)