Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Ensure we look for the global transaction

Oliver Günther01ee19affee8
diff --git a/lib_static/open_project/appsignal.rb b/lib_static/open_project/appsignal.rb
index 5e08cf028ef..4bc500d9735 100644
--- a/lib_static/open_project/appsignal.rb
+++ b/lib_static/open_project/appsignal.rb
@@ -36,7 +36,7 @@ module OpenProject
def exception_handler(message, log_context = {})
if (exception = log_context[:exception])
- if Appsignal::Transaction.current?
+ if ::Appsignal::Transaction.current?
::Appsignal.set_error(exception) do |transaction|
transaction.set_tags tags(log_context)
end