diff options
-rw-r--r-- | service/pixelated/config/__init__.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/service/pixelated/config/__init__.py b/service/pixelated/config/__init__.py index 8a3733a3..bb1fda2c 100644 --- a/service/pixelated/config/__init__.py +++ b/service/pixelated/config/__init__.py @@ -99,4 +99,10 @@ def initialize(): args.leap_home, leap_session)) + def _quit_on_error(failure): + failure.printTraceback() + reactor.stop() + + deferred.addErrback(_quit_on_error) + reactor.run() |