Skip to content
Snippets Groups Projects
Commit 12330d4d authored by Per 29 mei 2024 gedeeld account, daarvoor marten's avatar Per 29 mei 2024 gedeeld account, daarvoor marten
Browse files

Remove is_ignored_exception, just let Appsignal library figure that out

parent 3e28e479
No related branches found
No related tags found
1 merge request!50Remove is_ignored_exception, just let Appsignal library figure that out
Pipeline #104738 passed
......@@ -69,7 +69,7 @@ module Roqua
end
def notify_appsignal?(exception)
const_defined?(:Appsignal) && Appsignal.active? && !Appsignal.is_ignored_exception?(exception)
const_defined?(:Appsignal) && Appsignal.active?
end
def notify_appsignal(exception, labels, namespace)
......
......@@ -96,7 +96,6 @@ describe 'Error reporting' do
before do
Appsignal.config = Appsignal::Config.new(Dir.pwd, "test")
allow(Appsignal).to receive(:active?).and_return(true)
allow(Appsignal).to receive(:is_ignored_exception?).and_return(false)
allow(Appsignal).to receive(:agent).and_return(agent)
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment