🔇 error tracking: mute tornado's WebSocketErrors
This commit is contained in:
1 parent
bfcff9a1cd
commit
9775d99feb
1 file changed
+4
@@ -25,6 +25,7 @@ import serial
|
||||
import requests.exceptions
|
||||
import errno
|
||||
import octoprint.util.avr_isp.ispBase
|
||||
import tornado.websocket
|
||||
|
||||
IGNORED_EXCEPTIONS = [
|
||||
# serial exceptions in octoprint.util.comm
|
||||
@@ -38,6 +39,9 @@ IGNORED_EXCEPTIONS = [
|
||||
|
||||
# RequestExceptions of any kind
|
||||
requests.exceptions.RequestException,
|
||||
|
||||
# Tornado WebSocketErrors of any kind
|
||||
tornado.websocket.WebSocketError
|
||||
]
|
||||
|
||||
try:
|
||||
|
||||
Reference in new issue
Block a user