computervision-recipes icon indicating copy to clipboard operation
computervision-recipes copied to clipboard

[BUG] Catching general Exception may hide true cause of error

Open msalvaris opened this issue 6 years ago • 0 comments

Description

Here https://github.com/microsoft/ComputerVision/blob/3e0631e0dc7d5ddbfc6283b1e89b3ce51f0bd449/utils_cv/common/azureml.py#L52 you are catching a general exception which could hide the true cause of failure and make it really hard to debug. If it fails to get the workspace capture the specific exception and create the workspace.

Expected behavior (i.e. solution)

Capture specific exception

msalvaris avatar Nov 06 '19 19:11 msalvaris