diff --git a/src/api.ts b/src/api.ts index d809020..93a21e9 100644 --- a/src/api.ts +++ b/src/api.ts @@ -20,7 +20,7 @@ router.get('/test', async (req, res) => { return res.json({ url, success: true }); } catch (e: any) { - if (e.code !== 'ERR_INVALID_URL') { + if (e.code !== 'ERR_INVALID_URL' && e.name !== 'FetchError') { capture(e); }