You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is actually raising an ERROR level log, triggering all kind exception watchers like Sentry, as well as polluting the logs for benign things. The first line is a .debug() line for a reason, I believe.
In the parser.py file, there is a debug log and directly after, there is a
.exception
log:https://github.com/tkrajina/gpxpy/blob/master/gpxpy/parser.py#L144-L145
This is actually raising an ERROR level log, triggering all kind exception watchers like Sentry, as well as polluting the logs for benign things. The first line is a
.debug()
line for a reason, I believe.This is not how exceptions should be logged in Python. You can add them to the debug line, as listed here:
https://docs.python.org/2/library/logging.html#logging.Logger.debug
The text was updated successfully, but these errors were encountered: