Browse Source

Avoid NoMethodError when Sentry is not initialised

pull/619/head
Stéphane Meny 3 years ago committed by baarkerlounger
parent
commit
db6814bedf
  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