Skip to content

Commit befad58

Browse files
committed
Capitalize error string
1 parent dc31352 commit befad58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/opencage/geocoder.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def initialize(default_options = {})
1313
end
1414

1515
def geocode(location, options = {})
16-
raise_error("400 not a valid location: `#{location.inspect}`") unless location.is_a?(String)
16+
raise_error("400 Not a valid location: `#{location.inspect}`") unless location.is_a?(String)
1717

1818
request = Request.new(@api_key, location, options)
1919

0 commit comments

Comments
 (0)