summaryrefslogtreecommitdiff
path: root/src/leap
diff options
context:
space:
mode:
authorIvan Alejandro <ivanalejandro0@gmail.com>2013-08-01 16:12:34 -0300
committerIvan Alejandro <ivanalejandro0@gmail.com>2013-08-01 16:12:34 -0300
commit421d5a8c264731114a5ecf725925d31879f27627 (patch)
tree2020d135a4218e1aa933f5160cd092ef0fd2030b /src/leap
parent1b9f4c824406f26e135a0d96cad04064b8864615 (diff)
parent9f3e9eee381fe68b3e8c28fe4a0dec45e4e80488 (diff)
Merge remote-tracking branch 'chiiph/bug/fail_gracefully_events' into develop
Diffstat (limited to 'src/leap')
-rw-r--r--src/leap/app.py6
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