Skip to content

Commit

Permalink
Request handler notification (#22)
Browse files Browse the repository at this point in the history
**Why**

This pull request fixes a debug message on report send
  • Loading branch information
konraddysput authored Sep 23, 2024
2 parents 6baf2c6 + a5ba923 commit 326c1ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backtracepython/request_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def send(self, report, attachments):
verify=not self.ignore_ssl_certificate,
timeout=self.timeout,
) as response:
if response.status_code != 200:
if response.status_code == 200:
response_body = json.loads(response.text)
result_rx = response_body["_rxid"]
self.debug_api("Report available with rxId {}", result_rx)
Expand Down

0 comments on commit 326c1ea

Please sign in to comment.