"print_r" in logging replaced / obsolete stuff removed

This commit is contained in:
Michael 2020-06-29 20:22:00 +00:00
parent 9a47e51115
commit c947b7f211
19 changed files with 43 additions and 81 deletions

View file

@ -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.');