remove debugging letfovers

This commit is contained in:
Régis Hanol 2015-05-26 20:08:19 +02:00
parent 364437da28
commit 992154533f

View file

@ -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