Skip to content

Commit

Permalink
Remove sentry exception.
Browse files Browse the repository at this point in the history
  • Loading branch information
danhumphreys-moj committed Sep 5, 2024
1 parent f4f91b8 commit be57633
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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))
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4207,9 +4207,6 @@ class BookingServiceTest {
verify(exactly = 1) {
mockAssessmentRepository.findByApplication_IdAndReallocatedAtNull(bookingEntity.application!!.id)
}
verify(exactly = 1) {
Sentry.captureException(any())
}
}

@Test
Expand Down

0 comments on commit be57633

Please sign in to comment.