There is no LOGGER_ERROR - log problems instead at default (LOGGER_NORMAL)
This commit is contained in:
parent
cb7d832237
commit
6ac0556e10
BIN
twitter.tgz
BIN
twitter.tgz
Binary file not shown.
|
@ -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 . '"');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue