mirror of
https://github.com/SukkaW/Surge.git
synced 2026-07-29 18:11:46 +08:00
Housekeeping
This commit is contained in:
@@ -59,7 +59,7 @@ const agent = new Agent({
|
||||
if (
|
||||
errorCode === 'ERR_UNESCAPED_CHARACTERS'
|
||||
|| errorCode === 'UND_ERR_DESTROYED'
|
||||
// eslint-disable-next-line sukka/prefer-foxts-error-util -- we already know this is Error type
|
||||
|
||||
|| err.message === 'Request path contains unescaped characters'
|
||||
|| err.name === 'AbortError'
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user