From 5a77ea64d05a7118eadb49ac9de8eb7091eb0bd5 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 15 Sep 2024 08:45:48 +0530 Subject: [PATCH] Also log incomplete base64 data for notification requests --- kitty/notifications.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kitty/notifications.py b/kitty/notifications.py index c05ac0fe7..357a81bd2 100644 --- a/kitty/notifications.py +++ b/kitty/notifications.py @@ -197,6 +197,8 @@ class EncodedDataStore: self.data_store(decoded) def flush_encoded_data(self) -> None: + if self.decoder.needs_more_data(): + log_error('Received incomplete encoded data for notification request') self.decoder.reset() def finalise(self) -> bytes: