Hi @abdo ,
Recently found that “More Flags” addon attaches its Sentry handler to loggers of other addons.
Sometimes it leads to errors:
— Logging error —
Traceback (most recent call last):
File “logging”, line 1086, in emit
UnicodeEncodeError: ‘ascii’ codec can’t encode character ‘\u2068’ in position 192: ordinal not in range(128)
Call stack:
File “”, line 1, in
File “aqt”, line 571, in run
File “aqt”, line 785, in _run
File “aqt.taskman”, line 144, in _on_closures_pending
File “aqt.taskman”, line 88, in
File “aqt.operations”, line 261, in wrapped_done
File “aqt.deckbrowser”, line 171, in success
File “aqt.deckbrowser”, line 187, in __renderPage
File “_aqt.hooks”, line 1837, in call
File “/Users/SuhasK/Library/Application Support/Anki2/addons21/1188705668/ui/deck_browser/deck_browser_hooks.py”, line 43, in __on_browser_will_render_content
log.debug(f"DeckBrowserContent stats (edited): {content.stats}”)
File “logging”, line 1434, in debug
File “logging”, line 1589, in _log
File “logging”, line 1599, in handle
File “/Users/SuhasK/Library/Application Support/Anki2/addons21/146757953/vendor/sentry_sdk/integrations/logging.py”, line 96, in sentry_patched_callhandlers
return old_callhandlers(self, record)
File “logging”, line 1661, in callHandlers
File “logging”, line 952, in handle
File “logging”, line 1187, in emit
File “logging”, line 1091, in emit
Message: ‘DeckBrowserContent stats (edited):
Studied \u2068106\u2069 cards\n\u2068in \u20685.55\u2069 minutes\u2069 today\n(\u20683.14\u2069s/card)
What do you think is the best way to handle this issue?
CC @SuhasK