add download utils
This commit is contained in:
committed by
Oleksandr Turchyn
parent
71b8cc7172
commit
5a1efd0e27
@@ -77,7 +77,7 @@ module Api
|
||||
with_urls: true,
|
||||
with_events: false,
|
||||
params:)
|
||||
rescue Submitters::NormalizeValues::BaseError => e
|
||||
rescue Submitters::NormalizeValues::BaseError, DownloadUtils::UnableToDownload => e
|
||||
Rollbar.warning(e) if defined?(Rollbar)
|
||||
|
||||
render json: { error: e.message }, status: :unprocessable_entity
|
||||
|
||||
Reference in New Issue
Block a user