Skip to content

Commit

Permalink
Preface cred backup error with explanation
Browse files Browse the repository at this point in the history
  • Loading branch information
dotNomad committed Jan 9, 2025
1 parent a42e931 commit 4b04e4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/vscode/src/utils/errorTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ export const isErrCannotBackupCredentialsFile =
export const errCannotBackupCredentialsFileMessage = (
err: axiosErrorWithJson<ErrCannotBackupCredentialsFile>,
) => {
return err.response.data.details.message;
return `Unrecognizable credentials for Posit Publisher were found. ${err.response.data.details.message}`;
};

// Tries to match an Axios error that comes with an identifiable Json structured data
Expand Down

0 comments on commit 4b04e4c

Please sign in to comment.