Skip to content

Commit 7d82d3f

Browse files
committed
what file??
1 parent f281b93 commit 7d82d3f

File tree

1 file changed

+2
-2
lines changed
  • hubblestack/extmods/utils

1 file changed

+2
-2
lines changed

hubblestack/extmods/utils/s3.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -251,10 +251,10 @@ def query(key, keyid, method='GET', params=None, headers=None,
251251
if local_file and method == 'GET':
252252
if result.status_code < 200 or result.status_code >= 300:
253253
if err_code in sortof_ok:
254-
log.error('Failed to get file. %s: %s', err_code, err_msg)
254+
log.error('Failed to get file=%s. %s: %s', path, err_code, err_msg)
255255
return None
256256
raise CommandExecutionError(
257-
'Failed to get file. {0}: {1}'.format(err_code, err_msg))
257+
'Failed to get file=%s. {0}: {1}'.format(path, err_code, err_msg))
258258

259259
log.debug('Saving to local file: %s', local_file)
260260
with salt.utils.files.fopen(local_file, 'wb') as out:

0 commit comments

Comments
 (0)