incubator-allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tvansteenbu...@apache.org
Subject [47/50] git commit: Restore full taskd job error details to logging.
Date Thu, 08 Aug 2013 13:35:06 GMT
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/tv/6458
Commit: dbffe37a59180be72a58ba31dbd2fcf60a9e1886
Parents: cb85a23
Author: Dave Brondsema <dbrondsema@slashdotmedia.com>
Authored: Wed Aug 7 20:24:49 2013 +0000
Committer: Dave Brondsema <dbrondsema@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()


Mime
View raw message