Skip to content

Commit

Permalink
Merge pull request #2588 from sul-dlss/workaround-newrelic
Browse files Browse the repository at this point in the history
Workaround bug in newrelic with missing identifier class method
  • Loading branch information
jcoyne authored Sep 30, 2024
2 parents b0498dc + 08a331e commit 9d3b769
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions config/initializers/newrelic_monkeypatch.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# workaround for bug https://github.com/newrelic/newrelic-ruby-agent/issues/2869
class ViewComponent::Base
def self.identifier
source_location
end
end

0 comments on commit 9d3b769

Please sign in to comment.