diff options
-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] |