diff --git a/frontend/src/lib/components/AccountInfoForm.svelte b/frontend/src/lib/components/AccountInfoForm.svelte index 290abc88..da4fdc01 100644 --- a/frontend/src/lib/components/AccountInfoForm.svelte +++ b/frontend/src/lib/components/AccountInfoForm.svelte @@ -8,6 +8,7 @@ import { isLoading, isLoggedIn, accessToken } from '$lib/stores/stores'; import Input from '$lib/components/Input.svelte'; import ErrorMessage from '$lib/components/ErrorMessage.svelte'; + import { API } from '$lib/variables'; interface User { id?: string; @@ -149,8 +150,7 @@ } catch (error) { console.log(error); genericError = true; - genericErrorMessage = - 'An error occurred trying to connect to the sever. Please try again later.'; + genericErrorMessage = `An error occurred trying to connect to the sever. Please try again later. ${API}`; isLoading.set(false); return; } @@ -176,8 +176,7 @@ return; } else { genericError = true; - genericErrorMessage = - 'An error occurred trying to connect to the sever. Please try again later.'; + genericErrorMessage = `An error occurred trying to connect to the sever. Please try again later.`; isLoading.set(false); return; }