diff options
author | mguetlein <martin.guetlein@gmail.com> | 2011-01-26 16:16:09 +0100 |
---|---|---|
committer | mguetlein <martin.guetlein@gmail.com> | 2011-01-26 16:16:09 +0100 |
commit | 171ab814d15b9504ef9892ba5f194de8bc019f46 (patch) | |
tree | 4808d47373f6cb8b897bcf3b258bdad30b961736 | |
parent | 53a6d76d44543ba8109bc6fa1a609e30dd7e91ff (diff) |
minor fix
-rw-r--r-- | lib/authorization.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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] |