Continue adding logging for db3 write errors in spoolnews.php.
This commit is contained in:
parent
0dbafa27fa
commit
0a71f71e89
|
@ -493,6 +493,8 @@ function get_articles($ns, $group)
|
||||||
$tmp = insert_article_from_array($current_article, false);
|
$tmp = insert_article_from_array($current_article, false);
|
||||||
if ($tmp[0] != "4") {
|
if ($tmp[0] != "4") {
|
||||||
$pass = true;
|
$pass = true;
|
||||||
|
} else {
|
||||||
|
file_put_contents($logfile, "\n" . format_log_date() . " " . $config_name . " " . $tmp, FILE_APPEND);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (! $pass) {
|
if (! $pass) {
|
||||||
|
|
Loading…
Reference in New Issue