Skip to content

Commit cb4d111

Browse files
Fixes wording inconsistencies on error messages
1 parent 52edf71 commit cb4d111

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/env/node/gk/cli/integration.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ export class GkCliIntegrationProvider implements Disposable {
111111

112112
const appName = toMcpInstallProvider(await getHostAppName());
113113
if (appName == null) {
114-
void window.showInformationMessage(`Failed to install MCP integration: Could not determine app name`);
114+
void window.showInformationMessage(`Failed to install the GitKraken MCP: Could not determine app name`);
115115
if (this.container.telemetry.enabled) {
116116
this.container.telemetry.sendEvent('mcp/setup/failed', {
117117
reason: 'no app name',
@@ -182,7 +182,7 @@ export class GkCliIntegrationProvider implements Disposable {
182182
break;
183183
default:
184184
void window.showErrorMessage(
185-
`Failed to install the GitKraken MCP integration: ${ex instanceof Error ? ex.message : 'Unknown error.'}`,
185+
`Failed to install the GitKraken MCP: ${ex instanceof Error ? ex.message : 'Unknown error.'}`,
186186
);
187187
break;
188188
}
@@ -272,7 +272,7 @@ export class GkCliIntegrationProvider implements Disposable {
272272
});
273273
}
274274
Logger.error(`Unexpected output from mcp install command: ${output}`, scope);
275-
void window.showErrorMessage(`Failed to install the GitKrakenMCP integration: unknown error`);
275+
void window.showErrorMessage(`Failed to install the GitKraken MCP: unknown error`);
276276
return;
277277
}
278278

@@ -296,7 +296,7 @@ export class GkCliIntegrationProvider implements Disposable {
296296
}
297297

298298
void window.showErrorMessage(
299-
`Failed to install the GitKraken MCP integration: ${ex instanceof Error ? ex.message : 'Unknown error'}`,
299+
`Failed to install the GitKraken MCP: ${ex instanceof Error ? ex.message : 'Unknown error'}`,
300300
);
301301
}
302302
}

0 commit comments

Comments
 (0)