fix: werkzeug.exceptions.BadRequestKeyError
This commit is contained in:
parent
f713585e68
commit
fb663291e8
1 changed files with 1 additions and 1 deletions
|
|
@ -79,7 +79,7 @@ class Monitor:
|
|||
|
||||
if self.data.transaction_type == "request":
|
||||
self.data.request.status_code = response.status_code
|
||||
self.data.request.response_length = int(response.headers["Content-Length"])
|
||||
self.data.request.response_length = int(response.headers.get("Content-Length", 0))
|
||||
|
||||
self.store()
|
||||
except Exception:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue