Mailinglist Archive: yast-commit (2114 mails)

< Previous Next >
[yast-commit] <web-client> use-activeresource : disabling extra rescue in order to recuing exceptions via ActiveResource::ServerError in the application controller; Bug 538039
  • From: Stefan Schubert <schubi@xxxxxxx>
  • Date: Wed, 16 Sep 2009 16:19:50 +0200
  • Message-id: <E1MoJ2a-0003RW-W0@xxxxxxxxxxxxxxxx>
ref: refs/heads/use-activeresource
commit 3fe7abd25a91cb15b1bce0a1949e5ac853824567
Author: Stefan Schubert <schubi@xxxxxxx>
Date: Wed Sep 16 16:19:50 2009 +0200

disabling extra rescue in order to recuing exceptions via
ActiveResource::ServerError in the application controller; Bug 538039
---
webclient/app/controllers/sessions_controller.rb | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/webclient/app/controllers/sessions_controller.rb
b/webclient/app/controllers/sessions_controller.rb
index 1eade58..88ca6f7 100644
--- a/webclient/app/controllers/sessions_controller.rb
+++ b/webclient/app/controllers/sessions_controller.rb
@@ -70,12 +70,6 @@ class SessionsController < ApplicationController
rescue Errno::ECONNREFUSED => e
redirect_to :controller => "hosts", :action => "index", :hostid =>
host.id, :error => "econnrefused"
return
- rescue Exception => e
- logger.warn e.to_s
- logger.info e.backtrace.join("\n")
- flash[:error] = _("Exception raised when trying to login to
#{host.name}. Please try again")
- redirect_to :action => "new", :hostid => host.id
- return
end

# Now check if the authentication was successful
--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages