Log 403 as warning
This commit is contained in:
parent
dd493c87fa
commit
ead1b3e5f5
1 changed files with 1 additions and 1 deletions
|
@ -831,7 +831,7 @@ class UiRequest(object):
|
||||||
# You are not allowed to access this
|
# You are not allowed to access this
|
||||||
def error403(self, message="", details=True):
|
def error403(self, message="", details=True):
|
||||||
self.sendHeader(403, noscript=True)
|
self.sendHeader(403, noscript=True)
|
||||||
self.log.error("Error 403: %s" % message)
|
self.log.warning("Error 403: %s" % message)
|
||||||
return self.formatError("Forbidden", message, details=details)
|
return self.formatError("Forbidden", message, details=details)
|
||||||
|
|
||||||
# Send file not found error
|
# Send file not found error
|
||||||
|
|
Loading…
Reference in a new issue