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 }
|
||||
|
||||
MessageBus.publish("/uploads/#{type}", data.as_json, user_ids: [current_user.id])
|
||||
rescue => e
|
||||
pp e
|
||||
ensure
|
||||
tempfile.try(:close!) rescue nil
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue