We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f7edd1 commit f6ec5d0Copy full SHA for f6ec5d0
1 file changed
app/services/school_verification_service.rb
@@ -15,12 +15,12 @@ def verify(token: nil)
15
success = SchoolOnboardingService.new(school).onboard(token: token)
16
raise ActiveRecord::Rollback unless success
17
end
18
+
19
+ success
20
rescue StandardError => e
21
Sentry.capture_exception(e)
22
Rails.logger.error { "Failed to verify school #{@school.id}: #{e.message}" }
23
false
- else
- true
24
25
26
delegate :reject, to: :school
0 commit comments