mirror of
https://git.steelants.cz/SH/PHP_SMART_HOME_V3.git
synced 2026-10-11 17:54:34 +00:00
Synch
This commit is contained in:
1 parent
485709d61f
commit
3d3b073131
2 files changed
+4
-2
No files matched your search
@@ -78,7 +78,9 @@ class EndpointsApi extends ApiController{
|
||||
foreach ($obj['logs'] as $log) {
|
||||
$deviceLogManager = new LogManager('../logs/devices/'. date("Y-m-d").'.log');
|
||||
$deviceLogManager->setLevel(LOGLEVEL);
|
||||
$deviceLogManager->write("[Device Log Msg] Device_ID " . $device['device_id'] . "->" . $log, LogRecordTypes::ERROR);
|
||||
if ($log != 'HTTP_UPDATE_FAILD code-102 messageFile Not Found (404)'){
|
||||
$deviceLogManager->write("[Device Log Msg] Device_ID " . $device['device_id'] . "->" . $log, LogRecordTypes::ERROR);
|
||||
}
|
||||
unset($deviceLogManager);
|
||||
}
|
||||
$this->response([
|
||||
|
||||
Reference in new issue
Block a user