From 5274b1968e770920d84351d86cba44fa836e17cd Mon Sep 17 00:00:00 2001 From: Morten Delenk Date: Sun, 12 Jun 2016 18:30:10 +0200 Subject: [PATCH] traceback? --- comments.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/comments.py b/comments.py index da2fd24..c2691cb 100755 --- a/comments.py +++ b/comments.py @@ -1,5 +1,6 @@ #!/usr/bin/env python3 from htmlgen import * +import traceback import storage import cgi import random @@ -23,6 +24,7 @@ try: data={"name":"","markdown":message,"author":username,"date":timestamp} storage.append("comments-%i"%aid,data) except: + traceback.print_exc() pass seed=random.SystemRandom().randint(0,2**24)