From 171ab814d15b9504ef9892ba5f194de8bc019f46 Mon Sep 17 00:00:00 2001 From: mguetlein Date: Wed, 26 Jan 2011 16:16:09 +0100 Subject: minor fix --- lib/authorization.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/authorization.rb') diff --git a/lib/authorization.rb b/lib/authorization.rb index 6a8a174..a6253b7 100644 --- a/lib/authorization.rb +++ b/lib/authorization.rb @@ -362,7 +362,7 @@ module OpenTox elsif uri_match.is_a?(String) uri_regex = Regexp.new("^"+uri_match+"$") else - raise "uri-match param is neither string(->exact uri match) nor regexp: "+uri_match.class + raise "uri-match param is neither string(->exact uri match) nor regexp: "+uri_match.class.to_s end LOGGER.info("whitelisted "+request_method.to_s+" "+uri_regex.to_s) @@whitelist[request_method] = [] unless @@whitelist[request_method] -- cgit v1.2.3