AnkiHubSoftware / ankihub_addon

3 stars 0 forks source link

[BUILD-388] chore: Adjust logs to use structlog #960

Closed RisingOrange closed 6 months ago

RisingOrange commented 6 months ago

This PR adjust logs across the code base to make better use of structlog. It also adds some logs and removes some logs. makes them less verbose, etc.

Related issues

https://ankihub.atlassian.net/jira/software/c/projects/BUILD/boards/1?selectedIssue=BUILD-388

Proposed changes

Comments

I'll add the fix for the ErrorHandler error in a different PR.

codecov[bot] commented 6 months ago

Codecov Report

Attention: Patch coverage is 82.96296% with 23 lines in your changes are missing coverage. Please review.

Project coverage is 87.67%. Comparing base (dd3d8ad) to head (443f755).

Files Patch % Lines
ankihub/gui/deck_updater.py 50.00% 4 Missing :warning:
ankihub/gui/errors.py 40.00% 3 Missing :warning:
ankihub/ankihub_client/ankihub_client.py 87.50% 2 Missing :warning:
ankihub/gui/browser/browser.py 50.00% 2 Missing :warning:
ankihub/gui/menu.py 50.00% 2 Missing :warning:
ankihub/gui/operations/ankihub_sync.py 75.00% 2 Missing :warning:
ankihub/main/utils.py 77.77% 2 Missing :warning:
ankihub/gui/operations/db_check/ah_db_check.py 66.66% 1 Missing :warning:
ankihub/gui/operations/db_check/anki_db_check.py 50.00% 1 Missing :warning:
ankihub/gui/operations/deck_creation.py 66.66% 1 Missing :warning:
... and 3 more
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #960 +/- ## ========================================== - Coverage 87.75% 87.67% -0.08% ========================================== Files 67 66 -1 Lines 6621 6611 -10 ========================================== - Hits 5810 5796 -14 - Misses 811 815 +4 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

sentry-io[bot] commented 6 months ago

Suspect Issues

This pull request was deployed and Sentry observed the following issues:

Did you find this useful? React with a 👍 or 👎