fix pdf form flatten fields

This commit is contained in:
Pete Matsyburka
2024-05-27 00:39:36 +03:00
parent 99bc46b40f
commit a249b0a678
3 changed files with 8 additions and 5 deletions
@@ -26,6 +26,8 @@ class TemplatesUploadsController < ApplicationController
rescue StandardError => e
Rollbar.error(e) if defined?(Rollbar)
raise if Rails.env.local?
redirect_to root_path, alert: 'Unable to upload file'
end