mirror of
https://gitlab.com/MoonTestUse1/AdministrationItDepartmens.git
synced 2025-08-14 00:25:46 +02:00
Проверка 09.02.2025
This commit is contained in:
@@ -694,9 +694,13 @@ class RequestHandler(BaseProtocol):
|
||||
# or encrypted traffic to an HTTP port. This is expected
|
||||
# to happen when connected to the public internet so we log
|
||||
# it at the debug level as to not fill logs with noise.
|
||||
self.logger.debug("Error handling request", exc_info=exc)
|
||||
self.logger.debug(
|
||||
"Error handling request from %s", request.remote, exc_info=exc
|
||||
)
|
||||
else:
|
||||
self.log_exception("Error handling request", exc_info=exc)
|
||||
self.log_exception(
|
||||
"Error handling request from %s", request.remote, exc_info=exc
|
||||
)
|
||||
|
||||
# some data already got sent, connection is broken
|
||||
if request.writer.output_size > 0:
|
||||
|
Reference in New Issue
Block a user