--- src/app/controllers/instances_controller.rb | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/app/controllers/instances_controller.rb b/src/app/controllers/instances_controller.rb index 9d383f4..a670a9d 100644 --- a/src/app/controllers/instances_controller.rb +++ b/src/app/controllers/instances_controller.rb @@ -151,7 +151,7 @@ class InstancesController < ApplicationController raise ActionError.new("stop cannot be performed on this instance.") end Taskomatic.stop_instance(@task) - notices << "#{instance.name}: stop action was successfully queued.<br/>" + notices << "#{instance.name}: stop action was successfully queued." rescue Exception => err errors << "#{instance.name}: " + err + "<br/>" end
--- src/app/controllers/instances_controller.rb | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/app/controllers/instances_controller.rb b/src/app/controllers/instances_controller.rb index 9d383f4..617f358 100644 --- a/src/app/controllers/instances_controller.rb +++ b/src/app/controllers/instances_controller.rb @@ -151,9 +151,9 @@ class InstancesController < ApplicationController raise ActionError.new("stop cannot be performed on this instance.") end Taskomatic.stop_instance(@task) - notices << "#{instance.name}: stop action was successfully queued.<br/>" + notices << "#{instance.name}: stop action was successfully queued." rescue Exception => err - errors << "#{instance.name}: " + err + "<br/>" + errors << "#{instance.name}: " + err end end # If nothing is selected, display an error message:
On 09/23/11 - 12:55:32PM, Tomas Hrcka wrote:
src/app/controllers/instances_controller.rb | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/app/controllers/instances_controller.rb b/src/app/controllers/instances_controller.rb index 9d383f4..a670a9d 100644 --- a/src/app/controllers/instances_controller.rb +++ b/src/app/controllers/instances_controller.rb @@ -151,7 +151,7 @@ class InstancesController < ApplicationController raise ActionError.new("stop cannot be performed on this instance.") end Taskomatic.stop_instance(@task)
notices << "#{instance.name}: stop action was successfully queued.<br/>"
notices << "#{instance.name}: stop action was successfully queued." rescue Exception => err errors << "#{instance.name}: " + err + "<br/>" end
Yeah, I've seen this in my testing.
ACK
aeolus-devel@lists.fedorahosted.org