diff options
Diffstat (limited to '__init__.py')
-rwxr-xr-x | __init__.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/__init__.py b/__init__.py index 3b1c556..5699583 100755 --- a/__init__.py +++ b/__init__.py @@ -36,7 +36,10 @@ def run_phenny(config): p = bot.Phenny(config) p.run(config.host, config.port) - Watcher() + try: Watcher() + except Exception, e: + print >> sys.stderr, 'Warning:', e, '(in __init__.py)' + while True: try: connect(config) except KeyboardInterrupt: |