Browse Source

some improvements

pull/7759/head
Philipp Holzer 2 years ago
parent
commit
a25d841b85
No known key found for this signature in database GPG Key ID: D8365C3D36B77D90
  1. 4
      src/Module/Diaspora/Receive.php

4
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)) {

Loading…
Cancel
Save