Skip to content

Commit ce16363

Browse files
VitaliyRndhoule
authored andcommitted
fix: remove console log from proxy error handler
1 parent 2e102be commit ce16363

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/utils/proxy.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -522,8 +522,6 @@ const initializeProxy = async function ({
522522
})
523523

524524
proxy.on('error', (err, req, res, proxyUrl) => {
525-
console.error(`${NETLIFYDEVWARN} Got error while trying to proxy`, err)
526-
527525
// @ts-expect-error TS(2339) FIXME: Property 'proxyOptions' does not exist on type 'In... Remove this comment to see the full error message
528526
const options = req.proxyOptions
529527

0 commit comments

Comments
 (0)