debugging

This commit is contained in:
DTux committed 2022-01-28 23:05:58 +01:00
1 parent 1361cb9395
commit 425107cec7
22 files changed
+167 -136

No files matched your search

+2 -2
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;