Browse Source

Add newline to task failed log message

Ask Solem 14 years ago
parent
commit
4bca120eef
1 changed files with 1 additions and 1 deletions
  1. 1 1
      celery/worker/job.py

+ 1 - 1
celery/worker/job.py

@@ -23,7 +23,7 @@ from celery.worker import state
 # says "trailing whitespace" ;)
 EMAIL_SIGNATURE_SEP = "-- "
 TASK_ERROR_EMAIL_BODY = """
-Task %%(name)s with id %%(id)s raised exception: %%(exc)s
+Task %%(name)s with id %%(id)s raised exception:\n%%(exc)s
 
 
 Task was called with args: %%(args)s kwargs: %%(kwargs)s.