Skip to content

Commit

Permalink
fix(telemetry): avoid disabling in except hook
Browse files Browse the repository at this point in the history
  • Loading branch information
majorgreys committed Aug 24, 2023
1 parent ff6b559 commit b00aa59
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions ddtrace/internal/telemetry/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,6 @@ def _excepthook(tp, value, root_traceback):
error_msg = "{}:{} {}".format(filename, lineno, str(value))
telemetry_writer.add_integration(integration_name, True, error_msg=error_msg)

telemetry_writer.app_shutdown()
telemetry_writer.disable()

return _ORIGINAL_EXCEPTHOOK(tp, value, root_traceback)


Expand Down

0 comments on commit b00aa59

Please sign in to comment.