projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
2985: let errors propagate during save
[arvados.git]
/
apps
/
workbench
/
app
/
controllers
/
actions_controller.rb
diff --git
a/apps/workbench/app/controllers/actions_controller.rb
b/apps/workbench/app/controllers/actions_controller.rb
index 9f2cfb09f3da31ecb6953b5e5a3e915b212d757f..e3cdd5589e0312a6040a7af6597b89485ab91a64 100644
(file)
--- 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