We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 09dab2ce authored by Zach Copley's avatar Zach Copley

Dequeue notice when we hit any Facebook error.

parent 9cde924b
......@@ -229,8 +229,8 @@ function handleFacebookError($e, $notice, $flink)
$msg = "FacebookPlugin - Facebook returned an error we don't know how to deal with while trying to "
. "post notice %d. Error code: %d, error message: \"%s\". (Notice details: "
. "nickname=%s, user ID=%d, Facebook ID=%d, notice content=\"%s\"). Re-queueing "
. "notice, and will try to send again later.";
. "nickname=%s, user ID=%d, Facebook ID=%d, notice content=\"%s\"). Removing notice "
. "from the Facebook queue for safety.";
LOG_ERR, sprintf(
......@@ -243,8 +243,7 @@ function handleFacebookError($e, $notice, $flink)
// Re-queue and try again later
return false;
return true; // dequeue
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment