Commit 0746ec3c authored by Michal Čihař's avatar Michal Čihař

More debugging

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 9682cc5f
......@@ -29,6 +29,7 @@ import urllib
import urllib2
import weblate
import traceback
import sys
class MachineTranslationError(Exception):
......@@ -235,6 +236,7 @@ class MachineTranslation(object):
self.request_params,
)
traceback.print_exc()
print sys.modules['random']
raise MachineTranslationError('{}: {}'.format(
exc.__class__.__name__,
str(exc)
......
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