summaryrefslogtreecommitdiffstats
path: root/askbot/tasks.py
diff options
context:
space:
mode:
Diffstat (limited to 'askbot/tasks.py')
-rw-r--r--askbot/tasks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/askbot/tasks.py b/askbot/tasks.py
index 8d98be2c..fba4a556 100644
--- a/askbot/tasks.py
+++ b/askbot/tasks.py
@@ -160,7 +160,7 @@ def record_post_update_celery_task(
# HACK: exceptions from Celery job don't propagate upwards
# to the Django test runner
# so at least let's print tracebacks
- print >>sys.stderr, traceback.format_exc()
+ print >>sys.stderr, unicode(traceback.format_exc()).encode('utf-8')
raise
@task(ignore_result = True)