fix: use BaseException instead of Exception, up to 0.1.2

This commit is contained in:
jar3b
2019-08-23 11:08:50 +03:00
parent 98e9c9a122
commit 0702291c26
3 changed files with 14 additions and 2 deletions

View File

@@ -63,5 +63,5 @@ class LogagHandler(logging.Handler):
}
self.__send_to_udp(json_)
except Exception as e:
except BaseException as e:
self.backup_handler.emit(record)