🔇 error tracking: Disable reports for KeyboardInterrupt

This commit is contained in:
Gina Häußge committed 2020-06-26 18:55:42 +02:00
1 parent 2e4c3fed24
commit 43fc028e2e
1 file changed
+3
@@ -31,6 +31,9 @@ IGNORED_EXCEPTIONS = [
# serial exceptions in octoprint.util.comm
(serial.SerialException, lambda exc, logger, plugin, cb: logger == "octoprint.util.comm"),
# KeyboardInterrupts
KeyboardInterrupt,
# IOErrors of any kind due to a full file system
(IOError, lambda exc, logger, plugin, cb: getattr(exc, "errno") and exc.errno in (getattr(errno, "ENOSPC"),)),