Skip to content

Commit 1854931

Browse files
update error message
1 parent 0cceb0a commit 1854931

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/docusign/utils.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ def get_manifest(manifest_url):
5454
try:
5555
manifest = requests.get(manifest_url).json()
5656
return manifest
57-
except:
58-
current_app.logger.info(f"Could not load code examples manifest. Manifest URL: {manifest_url}")
59-
raise Exception(f"Could not load code examples manifest. Manifest URL: {manifest_url}")
57+
except Exception as e:
58+
current_app.logger.info(f"Could not load code examples manifest. Manifest URL: {manifest_url} with error {str(e)}")
59+
raise Exception(f"Could not load code examples manifest. Manifest URL: {manifest_url} with error {str(e)}")
6060

6161
def get_example_by_number(manifest, number):
6262
for group in manifest["Groups"]:

0 commit comments

Comments
 (0)