diff --git a/nuxt.config.js b/nuxt.config.js index fc68054c..a5d04e6c 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -395,7 +395,7 @@ export default { .catch((e) => { console.error( 'An error occurred while registering the visit: ', - e.response.data + e.response ? e.response.data : e ) }) })