diff --git a/packages/integrations/preact/src/server.ts b/packages/integrations/preact/src/server.ts index 7de8589897ac..5b38ff590681 100644 --- a/packages/integrations/preact/src/server.ts +++ b/packages/integrations/preact/src/server.ts @@ -36,7 +36,7 @@ async function check( // but components would be // It also might render an empty sting. return html == '' ? false : !html.includes(''); - } catch (err) { + } catch { return false; } finally { finishUsingConsoleFilter();