Permalink
Browse files

[webui] Report the url that was being tried when the error occured.

Signed-off by: David Greaves <david@dgreaves.com>
  • Loading branch information...
1 parent 5e75bef commit bea4923bf8c295ec1154e48aa76f5e7bc57815d9 @lbt committed Apr 1, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/activexml/transport.rb
@@ -512,7 +512,7 @@ def http_do( method, url, opt={} )
logger.error "--> caught #{err.class}: #{err.message}, retrying with new HTTP connection"
retry
end
- raise Error, "Connection failed #{err.class}: #{err.message}"
+ raise Error, "Connection failed #{err.class}: #{err.message} for #{url}"
rescue SystemCallError => err
begin
@http.finish

1 comment on commit bea4923

hm, dunno if we want to expose the internal URL's even more ...

Please sign in to comment.