We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4f2166 commit 998172eCopy full SHA for 998172e
src/lib/ggshield-api.ts
@@ -276,6 +276,9 @@ export function ggshieldAuthStatus(
276
): boolean {
277
const proc = runGGShieldCommand(configuration, ["api-status"]);
278
if (proc.stderr || proc.error) {
279
+ if (proc.stderr.includes("Config key")){
280
+ window.showErrorMessage(`Gitguardian: ${proc.stderr}`);
281
+ }
282
console.log(proc.stderr);
283
return false;
284
} else {
src/lib/ggshield-resolver.ts
@@ -73,9 +73,6 @@ export class GGShieldResolver {
73
`API key provided in settings is invalid.`
74
);
75
}
76
- throw new Error(
77
- `Configuration provided in settings is invalid: ${proc.stderr}`
78
- );
79
80
this.configuration = configuration;
81
return;
0 commit comments