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) => {
|
.catch((error) => {
|
||||||
|
console.error(error);
|
||||||
if (!signal.aborted) {
|
if (!signal.aborted) {
|
||||||
showBoundary(error);
|
showBoundary(error);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue