diff --git a/src/graphql/client.ts b/src/graphql/client.ts index ecd35ce2..2c7a3e70 100644 --- a/src/graphql/client.ts +++ b/src/graphql/client.ts @@ -7,7 +7,8 @@ const localClient = (options) => { try { c = createClient({ ...options, url }) console.info('[graphql] using local client') - } catch (e) { + } catch (error) { + console.error(error) c = createClient(options) console.info( `[graphql] using ${options.url.replace('https://', '').replace('/graphql', '').replace('/', '')}`