1
0

debugging

This commit is contained in:
2022-01-28 23:05:58 +01:00
parent 1361cb9395
commit 425107cec7
22 changed files with 167 additions and 136 deletions

View File

@ -33,12 +33,12 @@ class notificationFreemobile
if ($result === false)
{
$curlErr += 1;
logger(ERROR, sprintf( _("Curl return error %d: %s when sending notification"), curl_errno($ch), curl_error($ch)), false);
logger(ERROR, sprintf( _("Curl return error %d: %s when sending notification"), curl_errno($ch), curl_error($ch)), false, __FILE__ . ":" . __LINE__);
}/*else
{
logger(INFO, sprintf(_("Curl return: %s when sending notification"), $result), false);
}*/
}
} //TODO managing curl errors
// close curl resource to free up system resources
curl_close($ch);
return true;