ref: refs/heads/master
commit 3fe7abd25a91cb15b1bce0a1949e5ac853824567
Author: Stefan Schubert
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@opensuse.org
For additional commands, e-mail: yast-commit+help@opensuse.org