Skip to content

Commit cea1e0c

Browse files
authored
Log tentative-errors to info instead of debug (#40)
* Log tentative-errors to info instead of debug * Increment version
1 parent e7bf8b4 commit cea1e0c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cloud/envs/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def try_call(cmd, retry_count=5):
8080
logger.debug("Call to `{}` successful".format(c))
8181
return c
8282
else:
83-
logger.debug("Call to `{}` failed with status: {}. Retrying...".format(c, status))
83+
logger.info("Call to `{}` failed with status: {}. Retrying...\n STDOUT: {}\n STDERR: {}".format(c, status, stdout, stderr))
8484

8585
raise Exception("Call to `{}` failed {} times."
8686
"Aborting.\n STDOUT: {}\n STDERR: {}".format(c, retry_count, stdout, stderr))

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
long_description = f.read()
1010

1111
setup(name='dl-cloud',
12-
version='0.1.16',
12+
version='0.1.17',
1313
description='Cloud resource management for deep learning applications.',
1414
long_description=long_description,
1515
long_description_content_type='text/markdown',

0 commit comments

Comments
 (0)