allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [allura] branch master updated: [#8276] fix for the added hook
Date Fri, 12 Apr 2019 21:49:50 GMT
This is an automated email from the ASF dual-hosted git repository.

brondsem pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/allura.git


The following commit(s) were added to refs/heads/master by this push:
     new 715aecf  [#8276] fix for the added hook
715aecf is described below

commit 715aecf1037fce52f08336295e1cdcc827b1d41f
Author: Dave Brondsema <dave@brondsema.net>
AuthorDate: Fri Apr 12 17:49:44 2019 -0400

    [#8276] fix for the added hook
---
 Allura/allura/lib/patches.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Allura/allura/lib/patches.py b/Allura/allura/lib/patches.py
index 9105250..06ecb77 100644
--- a/Allura/allura/lib/patches.py
+++ b/Allura/allura/lib/patches.py
@@ -124,6 +124,7 @@ def newrelic():
         return old_controller_call(self, controller, *args, **kwargs)
 
     import newrelic.api.error_trace
+    import newrelic.api.function_trace
     # These are based on newrelic/hooks/framework_pylons.py since TG is similar to Pylons
     # capture exceptions:
     newrelic.api.error_trace.wrap_error_trace('tg.wsgiapp', 'TGApp.__call__')


Mime
View raw message