From 7775edacf73b602731b3e9dd2e366f1fcda38e95 Mon Sep 17 00:00:00 2001 From: Danie Humphreys Date: Thu, 5 Sep 2024 09:15:00 +0100 Subject: [PATCH] Remove sentry exception. --- .../digital/hmpps/approvedpremisesapi/service/BookingService.kt | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/kotlin/uk/gov/justice/digital/hmpps/approvedpremisesapi/service/BookingService.kt b/src/main/kotlin/uk/gov/justice/digital/hmpps/approvedpremisesapi/service/BookingService.kt index cfd438402f1..ecff9b7df70 100644 --- a/src/main/kotlin/uk/gov/justice/digital/hmpps/approvedpremisesapi/service/BookingService.kt +++ b/src/main/kotlin/uk/gov/justice/digital/hmpps/approvedpremisesapi/service/BookingService.kt @@ -1813,7 +1813,6 @@ class BookingService( extractEntityFromNestedAuthorisableValidatableActionResult(assessmentService.closeAssessment(user, assessmentId)) } catch (exception: Exception) { log.error("Unable to close CAS3 assessment $assessmentId for booking ${booking.id} ", exception) - Sentry.captureException(RuntimeException("Unable to close CAS3 assessment $assessmentId for booking ${booking.id} ", exception)) } } }