Skip to content

Gracefully handle failing to receive current user #188

@JCZuurmond

Description

@JCZuurmond

In the installation we get the user currently logged in:

If the Databricks cli profile is misconfigured, this method might fail with JSON.DecodeError. This should be resolved by the user, but the error is non-informative. Instead we could catch this error, warn about a potential misconfigured profile, then re-raise the error again.

Note that a misconfigured profile might fail incosistently, thus it looks like a labs specific problem (or any other project that uses blueprint) while it is not, see this comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions