fix(metrics): log ex as debug for jupyter notebook (#204)

so apparently in jupyter notebooks this will actually throw
unlike in a regular python environment.

changing severity to debug since no one should ever care except me
when i'm debugging lol!
This commit is contained in:
izzy lyseggen
2022-08-16 10:35:57 +01:00
committed by GitHub
parent 9fa6b661eb
commit 506aaf68ca
+1 -1
View File
@@ -79,7 +79,7 @@ def track(action: str, account: "Account" = None, custom_props: dict = None):
METRICS_TRACKER.queue.put_nowait(event_params)
except Exception as ex:
# wrapping this whole thing in a try except as we never want a failure here to annoy users!
LOG.error(f"Error queueing metrics request: {str(ex)}")
LOG.debug(f"Error queueing metrics request: {str(ex)}")
def initialise_tracker(account: "Account" = None):