1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-26 23:14:38 +01:00

Merge pull request #1501 from iwex/fix-logging

Fix typo and change log level
This commit is contained in:
Daniil Gentili 2024-03-27 11:14:52 +01:00 committed by GitHub
commit 2be70a903c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -188,7 +188,7 @@ trait ResponseHandler
$response = $response['result'];
}
if (!isset($this->outgoing_messages[$requestId])) {
$this->API->logger("Got a reponse $message with message ID $requestId, but there is no request!", Logger::FATAL_ERROR);
$this->API->logger("Got a response $message with message ID $requestId, but there is no request!", Logger::ERROR);
return;
}
/** @var MTProtoOutgoingMessage */