You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 5, 2024. It is now read-only.
Just ran a quick test of the snippet @betsaleel777 (without the TS type definitions)posted. It works for me and prints the error like it's supposed to.
async function onSubmit(values: any) { try { await $sanctumAuth.login(values, (data) => { navigateTo("/"); console.log(data); }); } catch (error) { const fail = error as FetchError; console.log(fail); } }
I can't handle errors or recover from them, console.log() do not work, that display nothing
The text was updated successfully, but these errors were encountered: