Fix an error formatting bug

This commit is contained in:
André Laszlo 2023-02-13 18:24:47 +01:00
parent b1202f959e
commit 44374a7517

View file

@ -18,7 +18,7 @@ class HTTP::CookieJar::AbstractStore
require 'http/cookie_jar/%s_store' % symbol
@@class_map.fetch(symbol)
rescue LoadError, IndexError => e
raise IndexError, 'cookie store unavailable: %s, error: %s' % symbol.inspect, e.message
raise IndexError, 'cookie store unavailable: %s, error: %s' % [symbol.inspect, e.message]
end
end