Skip to content

Commit

Permalink
Merge pull request #199 from gjsjohnmurray/fix-186
Browse files Browse the repository at this point in the history
Improve message when adding server fails to update settings.json
  • Loading branch information
gjsjohnmurray authored Jul 26, 2023
2 parents 65b37c4 + e3e8b39 commit ec86c62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/addServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export async function addServer(
return name;
} catch (error) {
vscode.window.showErrorMessage(
"Failed to store server '${name}' definition.",
`Failed to store server '${name}' definition. Does your settings.json file contain a JSON syntax error?`,
);
return undefined;
}
Expand Down

0 comments on commit ec86c62

Please sign in to comment.