Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Neto committed Jun 13, 2024
1 parent dba974e commit 7e65ee3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions objects/Encoder.php
Original file line number Diff line number Diff line change
Expand Up @@ -1157,6 +1157,12 @@ public static function run($try = 0)
if (empty($return_vars->videos_id)) {
$errorMsg[] = 'return_vars->videos_id is empty';
}
if(!self::canEncodeNow()){
$errorMsg[] = 'Something is encoding now';
}
if(!self::canDownloadNow()){
$errorMsg[] = 'Something is downloading now';
}
_error_log("try [{$try}] " . implode(', ', $errorMsg) . ' ' . json_encode($return_vars));
self::setStatusError($encoder->getId(), "try [{$try}] Error on return_vars->videos_id", 1);
return false;
Expand Down

0 comments on commit 7e65ee3

Please sign in to comment.