Closed RisingOrange closed 6 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 87.68%. Comparing base (
cfedc8e
) to head (2fa803e
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This PR fixes two issues that are related to logging.
Proposed changes
DatadogLogHandler.buffer
(and not sending them to Datadog) if thesend_addon_logs_to_datadog
feature flag is not set. The problem is that even if the feature flag is activated, it is fetched in the background and the log messages from the startup would get discarded. The PR changes this. Now log records are always added to the buffer and the feature flag only controls if they are sent to Datadog.logging.shutdown
involving Anki'sErrorHandler
and sentry