From: Philipp Holzer Date: Mon, 21 Oct 2019 15:29:53 +0000 (+0200) Subject: some improvements X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a25d841b85447d1c2be409f535d65b2c9202f324;p=friendica.git some improvements --- diff --git a/src/Module/Diaspora/Receive.php b/src/Module/Diaspora/Receive.php index bb33a705d5..978bccd833 100644 --- a/src/Module/Diaspora/Receive.php +++ b/src/Module/Diaspora/Receive.php @@ -51,7 +51,7 @@ class Receive extends BaseModule break; default: self::$logger->info('Wrong call.'); - throw new HTTPException\InternalServerErrorException('wrong call.'); + throw new HTTPException\BadRequestException('wrong call.'); break; } } @@ -134,7 +134,7 @@ class Receive extends BaseModule } } - self::$logger->info('Diaspora: Post encoded.'); + self::$logger->info('Diaspora: Post decoded.'); self::$logger->debug('Diaspora: Decoded message.', ['msg' => print_r($msg, true)]); if (!is_array($msg)) {