diff --git a/scripts/commands/playlist/test.ts b/scripts/commands/playlist/test.ts index 0464ea645c..3f632b0836 100644 --- a/scripts/commands/playlist/test.ts +++ b/scripts/commands/playlist/test.ts @@ -21,13 +21,16 @@ let interval: string | number | NodeJS.Timeout | undefined let streams = new Collection() let isLiveUpdateEnabled = true const errorStatusCodes = [ + 'ECONNREFUSED', 'ENOTFOUND', 'ENETUNREACH', - 'ECONNREFUSED', + 'EPROTO', + 'HTTP_400_BAD_REQUEST', + 'HTTP_401_UNAUTHORIZED', + 'HTTP_404_', 'HTTP_404_NOT_FOUND', - 'HTTP_404_UNKONWN_ERROR', - 'HTTP_403_FORBIDDEN', - 'HTTP_401_UNAUTHORIZED' + 'HTTP_404_UNKNOWN_ERROR', + 'HTTP_410_GONE' ] program