From 9bfeb65ec093b654422ff2dd0c1c6f7159f4e19f Mon Sep 17 00:00:00 2001 From: Pascal Zumkehr Date: Thu, 19 Dec 2024 18:08:06 +0100 Subject: [PATCH] Capture exceptions for raven as well --- app/controllers/sac_cas/qualifications_controller.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/sac_cas/qualifications_controller.rb b/app/controllers/sac_cas/qualifications_controller.rb index 5808c8a18..61752e6b5 100644 --- a/app/controllers/sac_cas/qualifications_controller.rb +++ b/app/controllers/sac_cas/qualifications_controller.rb @@ -20,6 +20,7 @@ def save_entry entry.save context: :qualifications_controller rescue PG::Error => e Airbrake.notify(e, parameters: params) + Raven.capture_exception(e, extra: {params: params}) logger.error e.message false end