lib/deputy.rb in deputy-0.1.30 vs lib/deputy.rb in deputy-0.1.31
- old
+ new
@@ -122,10 +122,10 @@
url = "#{sheriff_url}#{path}"
Timeout.timeout(config['timeout']||10) do
open(url).read
end
rescue => e
- e.message << url if e.message
+ e.message << url.to_s
raise e
end
def self.sheriff_url
config['sheriff_url'].sub(%r{/$},'')
\ No newline at end of file