Update TorrServerAPI.php

This commit is contained in:
Roman Kelesidis 2024-08-31 19:31:23 +07:00
commit 9726d0d019

View file

@ -229,6 +229,7 @@ class TorrServerAPI
if ($curl->httpStatusCode === 200 && !empty($response)) {
CACHE('tr_cache')->set("ffprobe_m3u_$attach_id", $response, 3600);
} else {
$response->{$index} = $curl->httpStatusCode;
bb_log("TorrServer (ERROR) [$this->url]: Response code: {$curl->httpStatusCode}\n", $this->logFile);
}
$curl->close();