mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 22:03:49 -07:00
Update TorrServerAPI.php
This commit is contained in:
parent
2556e88e71
commit
9726d0d019
1 changed files with 1 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue