Fix console.error filtering (#4748)
This commit is contained in:
parent
3372d757ca
commit
c5e134d035
2 changed files with 6 additions and 0 deletions
5
.changeset/nice-peaches-swim.md
Normal file
5
.changeset/nice-peaches-swim.md
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
'astro': patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Fix console.error filtering
|
|
@ -222,4 +222,5 @@ function filteredConsoleError(msg: any, ...rest: any[]) {
|
||||||
msg.includes('https://reactjs.org/link/invalid-hook-call');
|
msg.includes('https://reactjs.org/link/invalid-hook-call');
|
||||||
if (isKnownReactHookError) return;
|
if (isKnownReactHookError) return;
|
||||||
}
|
}
|
||||||
|
originalConsoleError(msg, ...rest);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue