LOG_WARNING, not LOG_WARN

This commit is contained in:
Mikael Nordfeldth
2013-10-06 01:15:21 +02:00
parent 48da97f204
commit ba481d1e31
3 changed files with 4 additions and 4 deletions

View File

@@ -319,7 +319,7 @@ while($lop->fetch()) {
}
} catch (Exception $e) {
if (!$quiet) { print $e->getMessage() . "\n"; }
common_log(LOG_WARN, $e->getMessage(), __FILE__);
common_log(LOG_WARNING, $e->getMessage(), __FILE__);
// continue on error
}
}