Skip to content

Commit 156c7d9

Browse files
Log request size and limit on error.
1 parent 5acb612 commit 156c7d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tabpy/tabpy_server/handlers/base_handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ def request_body_size_within_limit(self):
462462
self.error_out(
463463
413,
464464
info="Request Entity Too Large",
465-
log_message="Request body size exceeds the specified limit.",
465+
log_message=f"Request with size {content_length} exceeded limit of {self.max_request_size} (bytes).",
466466
)
467467
return False
468468

0 commit comments

Comments
 (0)