remove debugging letfovers
This commit is contained in:
parent
364437da28
commit
992154533f
|
@ -39,8 +39,6 @@ class UploadsController < ApplicationController
|
||||||
data = upload.errors.empty? ? upload : { errors: upload.errors.values.flatten }
|
data = upload.errors.empty? ? upload : { errors: upload.errors.values.flatten }
|
||||||
|
|
||||||
MessageBus.publish("/uploads/#{type}", data.as_json, user_ids: [current_user.id])
|
MessageBus.publish("/uploads/#{type}", data.as_json, user_ids: [current_user.id])
|
||||||
rescue => e
|
|
||||||
pp e
|
|
||||||
ensure
|
ensure
|
||||||
tempfile.try(:close!) rescue nil
|
tempfile.try(:close!) rescue nil
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue