From cc47ad3e1ca3cbd613cbc9695c359647b503b635 Mon Sep 17 00:00:00 2001 From: Nahuel Alejandro Ramos Date: Mon, 14 Aug 2023 11:09:26 -0300 Subject: [PATCH] chore: rephrase error message [gh-824] --- packages/cli/src/rest/api.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/cli/src/rest/api.ts b/packages/cli/src/rest/api.ts index 5d8e6330..7e49eb52 100644 --- a/packages/cli/src/rest/api.ts +++ b/packages/cli/src/rest/api.ts @@ -61,7 +61,8 @@ export function requestInterceptor (config: InternalAxiosRequestConfig) { export function responseErrorInterceptor (error: any) { if (error.response?.status === 408) { - throw new Error('Encountered an error connecting to Checkly. Your Internet connection is too slow.') + throw new Error('Encountered an error connecting to Checkly. ' + + 'This can be triggered by a slow internet connection or a network with high packet loss.') } throw error }