diff options
author | Tomás Touceda <chiiph@leap.se> | 2013-08-01 18:09:37 -0300 |
---|---|---|
committer | Tomás Touceda <chiiph@leap.se> | 2013-08-01 18:09:37 -0300 |
commit | 08a6f880b64b46db5d4efdcfc48c2cddec589f67 (patch) | |
tree | 46e0b34b8075194254a92a9c7109575f4c5df935 /src/leap/app.py | |
parent | 1b9f4c824406f26e135a0d96cad04064b8864615 (diff) | |
parent | 599f6bf0d4f819ab1613bf9449c122025da07c13 (diff) |
Merge remote-tracking branch 'ivan/feature/3318_add-cancel-button-to-login' into develop
Diffstat (limited to 'src/leap/app.py')
-rw-r--r-- | src/leap/app.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/leap/app.py b/src/leap/app.py index f45e46c4..6ba27813 100644 --- a/src/leap/app.py +++ b/src/leap/app.py @@ -131,7 +131,11 @@ def main(): """ Starts the main event loop and launches the main window. """ - event_server.ensure_server(event_server.SERVER_PORT) + try: + event_server.ensure_server(event_server.SERVER_PORT) + except Exception as e: + # We don't even have logger configured in here + print "Could not ensure server: %r" % (e,) _, opts = leap_argparse.init_leapc_args() standalone = opts.standalone |