From 992154533f40f64386b6ba18f1a9ed6be52b0329 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Hanol?= Date: Tue, 26 May 2015 20:08:19 +0200 Subject: [PATCH] remove debugging letfovers --- app/controllers/uploads_controller.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/controllers/uploads_controller.rb b/app/controllers/uploads_controller.rb index 5c46d73f8..f26f17626 100644 --- a/app/controllers/uploads_controller.rb +++ b/app/controllers/uploads_controller.rb @@ -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