ref: refs/heads/network
commit aa40f79cdedc5c816c93df9ecead2d5e74a8cf4e
Author: Josef Reidinger
Date: Mon Sep 21 13:34:46 2009 +0200
switch to new error reporting tool
---
.../app/controllers/language_controller.rb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/plugins/language/app/controllers/language_controller.rb b/plugins/language/app/controllers/language_controller.rb
index f6a1a5a..a6c6878 100644
--- a/plugins/language/app/controllers/language_controller.rb
+++ b/plugins/language/app/controllers/language_controller.rb
@@ -23,7 +23,7 @@ class LanguageController < ApplicationController
else
logger.warn("No argument to update")
- render ErrorResult.error(404, 2, "format or internal error") and return
+ raise InvalidParameters.new [{:name => "language", :error => "Missing"}]
end
render :show
end
--
To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org
For additional commands, e-mail: yast-commit+help@opensuse.org