☔ error tracking: ignore RequestExceptions
We don't want to get error events every time someone's net connection goes down or the webcam is misconfigured.
This commit is contained in:
1 parent
3574c2ddf9
commit
65fe048ade
1 file changed
+2
@@ -13,6 +13,7 @@ from flask import jsonify
|
||||
from flask_babel import gettext
|
||||
|
||||
from serial import SerialException
|
||||
from requests.exceptions import RequestException
|
||||
|
||||
SENTRY_URL_SERVER = "https://4273b441bb654c4398de42ba86350963@sentry.io/1373987"
|
||||
SENTRY_URL_COREUI = "https://f9bcd7185f73430bbe7c09ff69586b0f@sentry.io/1374096"
|
||||
@@ -25,6 +26,7 @@ SETTINGS_DEFAULTS = dict(enabled=False,
|
||||
|
||||
IGNORED_EXCEPTIONS = [
|
||||
(SerialException, "octoprint.util.comm"),
|
||||
RequestException
|
||||
]
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user