You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by jo...@apache.org on 2013/08/08 17:09:40 UTC

[3/9] git commit: Restore full taskd job error details to logging.

Restore full taskd job error details to logging.

This was first "fixed" in de961e2, but then in 8e3c5c3 a better fix
was made so that errormiddleware didn't get applied to tasks, thus
causing the logging to be incomplete.


Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/dbffe37a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/dbffe37a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/dbffe37a

Branch: refs/heads/cj/6464
Commit: dbffe37a59180be72a58ba31dbd2fcf60a9e1886
Parents: cb85a23
Author: Dave Brondsema <db...@slashdotmedia.com>
Authored: Wed Aug 7 20:24:49 2013 +0000
Committer: Dave Brondsema <db...@slashdotmedia.com>
Committed: Wed Aug 7 20:59:24 2013 +0000

----------------------------------------------------------------------
 Allura/allura/model/monq_model.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/dbffe37a/Allura/allura/model/monq_model.py
----------------------------------------------------------------------
diff --git a/Allura/allura/model/monq_model.py b/Allura/allura/model/monq_model.py
index d298c1b..9fa0064 100644
--- a/Allura/allura/model/monq_model.py
+++ b/Allura/allura/model/monq_model.py
@@ -257,7 +257,7 @@ class MonQTask(MappedClass):
             self.state = 'complete'
             return self.result
         except Exception, exc:
-            log.info('Error on job %r, re-raising it', self)
+            log.exception('Error "%s" on job %s', exc, self)
             self.state = 'error'
             if hasattr(exc, 'format_error'):
                 self.result = exc.format_error()