mirror of
https://github.com/docusealco/docuseal
synced 2026-11-07 15:22:33 -05:00
add log
This commit is contained in:
1 parent
97d91d8f27
commit
52eb8ac863
1 file changed
+5
-1
@@ -14,7 +14,11 @@ class SubmitFormCompletedDownloadController < ApplicationController
|
||||
|
||||
@submitter = Submitter.find_by!(slug: submitter_slug) unless signature_valid
|
||||
|
||||
return head :not_found unless completed_submitter?(@submitter)
|
||||
unless completed_submitter?(@submitter)
|
||||
Rollbar.error("Not completed: #{@submitter.id}") if defined?(Rollbar)
|
||||
|
||||
return head :not_found
|
||||
end
|
||||
|
||||
Submissions::EnsureResultGenerated.call(@submitter) if @submitter.completed_at?
|
||||
|
||||
|
||||
Reference in new issue
Block a user