Skip to content

Commit 226ecad

Browse files
Add github issue msg
1 parent 8c46a6c commit 226ecad

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

src/tools/accessibility.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ async function runAccessibilityScan(
3737
content: [
3838
{
3939
type: "text",
40-
text: `Failed to start accessibility scan: ${error instanceof Error ? error.message : "Unknown error"}`,
40+
text: `Failed to start accessibility scan: ${error instanceof Error ? error.message : "Unknown error"}. Please open an issue on GitHub if the problem persists`,
4141
isError: true,
4242
},
4343
],

src/tools/applive.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ export default function addAppLiveTools(server: McpServer) {
102102
content: [
103103
{
104104
type: "text",
105-
text: `Failed to start an app live session. Error: ${error}`,
105+
text: `Failed to start an app live session. Error: ${error}. Please open an issue on GitHub if the problem persists`,
106106
isError: true,
107107
},
108108
],

src/tools/bstack-sdk.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ export default function addSDKTools(server: McpServer) {
9191
content: [
9292
{
9393
type: "text",
94-
text: `Failed to bootstrap project with BrowserStack SDK. Error: ${error}`,
94+
text: `Failed to bootstrap project with BrowserStack SDK. Error: ${error}. Please open an issue on GitHub if the problem persists`,
9595
isError: true,
9696
},
9797
],

src/tools/live.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ export default function addBrowserLiveTools(server: McpServer) {
112112
content: [
113113
{
114114
type: "text",
115-
text: `Failed to start a browser live session. Error: ${error}`,
115+
text: `Failed to start a browser live session. Error: ${error}. Please open an issue on GitHub if the problem persists`,
116116
isError: true,
117117
},
118118
],

src/tools/observability.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export default function addObservabilityTools(server: McpServer) {
6363
content: [
6464
{
6565
type: "text",
66-
text: `Failed to get failures in the last run. Error: ${error}`,
66+
text: `Failed to get failures in the last run. Error: ${error}. Please open an issue on GitHub if this is an issue with BrowserStack`,
6767
isError: true,
6868
},
6969
],

0 commit comments

Comments
 (0)