incubator-allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From john...@apache.org
Subject git commit: [#4942] Improved error logging for graceful handling of bad / missing tool
Date Fri, 26 Oct 2012 19:40:29 GMT
Updated Branches:
  refs/heads/cj/4942 0e20ca87e -> b5598922d


[#4942] Improved error logging for graceful handling of bad / missing tool

Signed-off-by: Cory Johns <johnsca@geek.net>


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

Branch: refs/heads/cj/4942
Commit: b5598922df3adfb25a5f99fb6a549cbab4bb5eb1
Parents: 0e20ca8
Author: Cory Johns <johnsca@geek.net>
Authored: Fri Oct 26 19:40:21 2012 +0000
Committer: Cory Johns <johnsca@geek.net>
Committed: Fri Oct 26 19:40:21 2012 +0000

----------------------------------------------------------------------
 Allura/allura/model/project.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/b5598922/Allura/allura/model/project.py
----------------------------------------------------------------------
diff --git a/Allura/allura/model/project.py b/Allura/allura/model/project.py
index c522d8f..5938be1 100644
--- a/Allura/allura/model/project.py
+++ b/Allura/allura/model/project.py
@@ -409,7 +409,7 @@ class Project(MappedClass, ActivityNode, ActivityObject):
                 App = ac.load()
             # If so, we don't want it listed
             except KeyError as e:
-                log.exception(e)
+                log.exception('AppConfig %s references invalid tool %s', ac._id, ac.tool_name)
                 continue
             app = App(self, ac)
             if app.is_visible_to(c.user):


Mime
View raw message