Skip to content

Commit a45bc10

Browse files
author
Ziqun Ye
committed
expose the error
1 parent a22ff17 commit a45bc10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ads/opctl/model/cmds.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,5 +54,5 @@ def _download_model(ocid, artifact_directory, oci_auth, region, bucket_uri, time
5454
bucket_uri=bucket_uri,
5555
)
5656
except Exception as e:
57-
print(str(e))
57+
print(type(e))
5858
shutil.rmtree(artifact_directory, ignore_errors=True)

0 commit comments

Comments
 (0)