diff options
Diffstat (limited to 'app/services/integrations/test/base_service.rb')
-rw-r--r-- | app/services/integrations/test/base_service.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/services/integrations/test/base_service.rb b/app/services/integrations/test/base_service.rb index a8a027092d5..6291f2dfbaa 100644 --- a/app/services/integrations/test/base_service.rb +++ b/app/services/integrations/test/base_service.rb @@ -21,9 +21,9 @@ module Integrations return error('Testing not available for this event') end - return error(data[:error]) if data[:error].present? - integration.test(data) + rescue ArgumentError => e + error(e.message) end private |