From 89158222661a806cd27299054f6f50ee906d92e1 Mon Sep 17 00:00:00 2001 From: radhika Date: Wed, 30 Jul 2014 15:57:30 -0400 Subject: [PATCH] 2985: let errors propagate during save --- apps/workbench/app/controllers/actions_controller.rb | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/apps/workbench/app/controllers/actions_controller.rb b/apps/workbench/app/controllers/actions_controller.rb index 9f2cfb09f3..e3cdd5589e 100644 --- a/apps/workbench/app/controllers/actions_controller.rb +++ b/apps/workbench/app/controllers/actions_controller.rb @@ -70,12 +70,7 @@ class ActionsController < ApplicationController dst.owner_uuid = @object.uuid dst.tail_uuid = @object.uuid if dst.class == Link end - begin - dst.save! - rescue - dst.name += " (#{Time.now.localtime})" if dst.respond_to? :name= - dst.save! - end + dst.save! end end redirect_to @object -- 2.30.2