summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2010-05-24 23:27:53 +0000
committerZach Copley <zach@status.net>2010-05-24 23:27:53 +0000
commit9cde924bb3f928d9df0519a9a6b995633eb45789 (patch)
tree76e2efa89fe272ad53e82033f97ff704120ce4e8
parent1f3a16bbfb41b366bea05f5ba05bb41f44108ab8 (diff)
Accidentally used the wrong log level (LOG ERROR instead of LOG_ERR)
-rw-r--r--plugins/Facebook/facebookutil.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Facebook/facebookutil.php b/plugins/Facebook/facebookutil.php
index d573c34ac..0f24f5441 100644
--- a/plugins/Facebook/facebookutil.php
+++ b/plugins/Facebook/facebookutil.php
@@ -192,7 +192,7 @@ function handleFacebookError($e, $notice, $flink)
. "\"%s\" (Notice details: nickname=%s, user ID=%d, Facebook ID=%d, notice content=\"%s\"). "
. "Removing notice from the Facebook queue for safety.";
common_log(
- LOG_ERROR, sprintf(
+ LOG_ERR, sprintf(
$msg,
$notice->id,
$errmsg,
@@ -232,7 +232,7 @@ function handleFacebookError($e, $notice, $flink)
. "nickname=%s, user ID=%d, Facebook ID=%d, notice content=\"%s\"). Re-queueing "
. "notice, and will try to send again later.";
common_log(
- LOG_ERROR, sprintf(
+ LOG_ERR, sprintf(
$msg,
$notice->id,
$code,
@@ -351,7 +351,7 @@ function updateProfileBox($facebook, $flink, $notice, $user) {
common_debug(
'FacebookPlugin - Attempting to update profile box with '
- . "content from notice $notice->id for $user->nickname ($user->id)"
+ . "content from notice $notice->id for $user->nickname ($user->id), "
. "Facebook UID: $fbuid"
);