mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-21 19:23:41 +00:00
There is no LOGGER_ERROR - log problems instead at default (LOGGER_NORMAL)
This commit is contained in:
parent
cb7d832237
commit
6ac0556e10
2 changed files with 1 additions and 1 deletions
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