bad log constant

This commit is contained in:
Mikael Nordfeldth 2016-08-28 00:16:31 +02:00
parent a32bfe7d87
commit cb5bcf4937
1 changed files with 1 additions and 1 deletions

View File

@ -176,7 +176,7 @@ class OembedPlugin extends Plugin
}
$file->setTitle($oembed_data->title);
} catch (Exception $e) {
common_log(LOG_WARN, sprintf(__METHOD__.': %s thrown when getting oEmbed data: %s', get_class($e), _ve($e->getMessage())));
common_log(LOG_WARNING, sprintf(__METHOD__.': %s thrown when getting oEmbed data: %s', get_class($e), _ve($e->getMessage())));
return true;
}