Commit 209aaec4 by serpucga

More detailed exception

parent 4516d8ee
...@@ -79,6 +79,7 @@ else: ...@@ -79,6 +79,7 @@ else:
os.system('spd-say "Collection has no tweets"') os.system('spd-say "Collection has no tweets"')
sys.exit(0) sys.exit(0)
except Exception: except Exception:
logger.error("Something really bad happened!", exc_info=True)
os.system("spd-say 'Something really bad happened!'") os.system("spd-say 'Something really bad happened!'")
sys.exit(1) sys.exit(1)
client.close() client.close()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment