Skip to content

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

Open
@msalvaris

Description

@msalvaris

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingbug-bashIssues that you came across during the bug-bash

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions