1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-27 08:34:41 +01:00

Add logging

This commit is contained in:
Daniil Gentili 2023-07-18 19:21:13 +02:00
parent d7a713971b
commit c331983b74
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7
2 changed files with 3 additions and 2 deletions

2
docs

@ -1 +1 @@
Subproject commit ceaadaca96b69220bc631c2e0f9c0f11db206ab2
Subproject commit 2cfccd0d5d83a44cf30750a27ad6f9f511ecbb0b

View File

@ -489,7 +489,8 @@ trait UpdateHandler
}
}
if ($result === null) {
throw new Exception('Could not find any message in the updates!');
$updates = json_encode($updates);
throw new Exception("Could not find any message in $updates!");
}
return $result;
}