mirror of
https://github.com/docusealco/docuseal
synced 2026-11-05 22:52:32 -05:00
add log
This commit is contained in:
1 parent
565e1eb2bc
commit
46cf1e3067
1 file changed
+2
@@ -79,6 +79,8 @@ class SubmitFormController < ApplicationController
|
||||
|
||||
render json: { field_uuid: e.message }, status: :unprocessable_content
|
||||
rescue Submitters::SubmitValues::ValidationError => e
|
||||
Rollbar.warning("Validation error #{@submitter.id}: #{e.message}") if defined?(Rollbar)
|
||||
|
||||
render json: { error: e.message }, status: :unprocessable_content
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user