Update update.js

This commit is contained in:
Aleksandr Statciuk
2023-02-03 06:19:24 +03:00
parent 7741a6ffbd
commit 4db935be57

View File

@@ -145,8 +145,9 @@ function parseStatus(error) {
if (!error) return 'online'
switch (error.code) {
case 'FFMPEG_UNDEFINED':
return null
case 'HTTP_REQUEST_TIMEOUT':
case 'FFMPEG_PROCESS_TIMEOUT':
return 'timeout'
case 'HTTP_FORBIDDEN':
case 'HTTP_UNAUTHORIZED':