Include URL in error message
When the processor can't load a URI it logs a message, but the message does not include the URI that was a problem, which makes troubleshooting difficult. Change-Id: I96533a924f7b450eb41cf738de8f4064f7089316
This commit is contained in:
@@ -89,7 +89,7 @@ def read_uri(uri):
|
||||
fd.close()
|
||||
return raw
|
||||
except Exception as e:
|
||||
LOG.warn('Error while reading uri: %s' % e)
|
||||
LOG.warn('Error while reading uri(%s): %s' % (uri, e))
|
||||
|
||||
|
||||
def read_json_from_uri(uri):
|
||||
|
||||
Reference in New Issue
Block a user