diff --git a/scripts/commands/playlist/test.ts b/scripts/commands/playlist/test.ts index 8209870d11..8a8e66b856 100644 --- a/scripts/commands/playlist/test.ts +++ b/scripts/commands/playlist/test.ts @@ -21,12 +21,15 @@ let interval: string | number | NodeJS.Timeout | undefined let streams = new Collection() let isLiveUpdateEnabled = true const errorStatusCodes = [ + 'ECONNREFUSED', 'ENOTFOUND', 'ENETUNREACH', - 'ECONNREFUSED', + 'EPROTO', + 'HTTP_401_UNAUTHORIZED', + 'HTTP_404_', 'HTTP_404_NOT_FOUND', 'HTTP_404_UNKONWN_ERROR', - 'HTTP_401_UNAUTHORIZED' + 'HTTP_410_GONE' ] program