summaryrefslogtreecommitdiffstats
path: root/taulubot.py
diff options
context:
space:
mode:
Diffstat (limited to 'taulubot.py')
-rw-r--r--taulubot.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/taulubot.py b/taulubot.py
index 3f7880f..cac99c3 100644
--- a/taulubot.py
+++ b/taulubot.py
@@ -1,4 +1,6 @@
import time
+import traceback
+import random
import os
import calendar
import logging
@@ -126,6 +128,7 @@ def handle(msg):
)
break
except:
+ traceback.print_exc()
logging.error(
"Error occured during process. Retrying... (attempt {})".format(
attempt