add error to the console for debugging (#33041)
fixes: #33040 Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
This commit is contained in:
parent
f1ec0a9bb6
commit
9e42e8013d
1 changed files with 1 additions and 0 deletions
|
@ -33,6 +33,7 @@ export function useFetch<T>(
|
|||
}
|
||||
})
|
||||
.catch((error) => {
|
||||
console.error(error);
|
||||
if (!signal.aborted) {
|
||||
showBoundary(error);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue