mirror of
https://github.com/friendica/friendica
synced 2025-04-19 11:50:12 +00:00
"print_r" in logging replaced / obsolete stuff removed
This commit is contained in:
parent
9a47e51115
commit
c947b7f211
19 changed files with 43 additions and 81 deletions
|
@ -148,7 +148,7 @@ class Receive extends BaseModule
|
|||
}
|
||||
|
||||
self::$logger->info('Diaspora: Post decoded.');
|
||||
self::$logger->debug('Diaspora: Decoded message.', ['msg' => print_r($msg, true)]);
|
||||
self::$logger->debug('Diaspora: Decoded message.', ['msg' => $msg]);
|
||||
|
||||
if (!is_array($msg)) {
|
||||
throw new HTTPException\InternalServerErrorException('Message is not an array.');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue