Skip to content

Commit efd6818

Browse files
Fix: Improve error message for failed BrowserStack configuration fetch
1 parent 8e7bc78 commit efd6818

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/device-cache.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export async function getDevicesAndBrowsers(
4444

4545
if (!liveRes.ok || !appLiveRes.ok) {
4646
throw new Error(
47-
`Failed to fetch configuration from BrowserStack for try catch around JSON parse.: live=${liveRes.statusText}, app_live=${appLiveRes.statusText}`,
47+
`Failed to fetch configuration from BrowserStack : live=${liveRes.statusText}, app_live=${appLiveRes.statusText}`,
4848
);
4949
}
5050

0 commit comments

Comments
 (0)