Browse Source

Avoid NoMethodError when Sentry is not initialised

pull/595/head
Stéphane Meny 3 years ago
parent
commit
3d444cc061
No known key found for this signature in database
GPG Key ID: 9D0AFEA988527923
  1. 2
      app/controllers/form_controller.rb

2
app/controllers/form_controller.rb

@ -24,7 +24,7 @@ class FormController < ApplicationController
else
render_not_found
end
transaction.finish
transaction.finish if transaction
end
def check_answers

Loading…
Cancel
Save