Skip to content

Show error for a corrupted config file#955

Merged
ilia-db merged 1 commit intomainfrom
profile-parsing-error
Nov 29, 2023
Merged

Show error for a corrupted config file#955
ilia-db merged 1 commit intomainfrom
profile-parsing-error

Conversation

@ilia-db
Copy link
Copy Markdown
Contributor

@ilia-db ilia-db commented Nov 29, 2023

Better error messaging when config file is corrupted. Should help with cases like this: #942

When we detect profile loading/parsing error (that comes from the CLI), we proceed with the configuration wizard without any pre-defined profiles, but also show a warning notification to the users, prompting them to open their config file and fix it.

@ilia-db ilia-db merged commit 8b5a944 into main Nov 29, 2023
@ilia-db ilia-db deleted the profile-parsing-error branch November 29, 2023 12:11
@github-actions github-actions bot mentioned this pull request Dec 5, 2023
ilia-db added a commit that referenced this pull request Dec 5, 2023
## packages/databricks-vscode
## <small>1.2.4 (2023-12-05)</small>

* Send environment type (tests, prod) in telemetry events (#944)
([1ce3ef0](1ce3ef0)),
closes
[#944](#944)
* Set notebook directory as current directory for pip installs from
workspace fs (#961)
([eec87b8](eec87b8)),
closes
[#961](#961)
[#958](#958)
* Show error for a corrupted config file (#955)
([8b5a944](8b5a944)),
closes
[#955](#955)
* Update Databricks CLI to v0.210.1 (#957)
([c9864e1](c9864e1)),
closes
[#957](#957)



## packages/databricks-vscode-types
## <small>1.2.4 (2023-12-05)</small>

---------

Co-authored-by: releasebot <[email protected]>
Co-authored-by: Ilia Babanov <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants