There is no LOGGER_ERROR - log problems instead at default (LOGGER_NORMAL)
This commit is contained in:
BIN
Binary file not shown.
+1
-1
@@ -359,7 +359,7 @@ function twitter_post_hook(&$a,&$b) {
|
||||
$result = $tweet->post('statuses/update', array('status' => $msg));
|
||||
logger('twitter_post send, result: ' . print_r($result, true), LOGGER_DEBUG);
|
||||
if ($result->error) {
|
||||
logger('Send to Twitter failed: "' . $result->error . '"', LOGGER_ERROR);
|
||||
logger('Send to Twitter failed: "' . $result->error . '"');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user