Skip to content

Commit 92f7c67

Browse files
committed
fix (Core): use in BaseRequestHandler to understand error
1 parent 828ecff commit 92f7c67

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)