There is no LOGGER_ERROR - log problems instead at default (LOGGER_NORMAL)

This commit is contained in:
friendica 2012-05-14 20:14:09 -07:00
parent cb7d832237
commit 6ac0556e10
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -359,7 +359,7 @@ function twitter_post_hook(&$a,&$b) {
$result = $tweet->post('statuses/update', array('status' => $msg)); $result = $tweet->post('statuses/update', array('status' => $msg));
logger('twitter_post send, result: ' . print_r($result, true), LOGGER_DEBUG); logger('twitter_post send, result: ' . print_r($result, true), LOGGER_DEBUG);
if ($result->error) { if ($result->error) {
logger('Send to Twitter failed: "' . $result->error . '"', LOGGER_ERROR); logger('Send to Twitter failed: "' . $result->error . '"');
} }
} }
} }