From 28f1b8a7a0136cca03c993e4960ffca22d0ffce8 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 17 Feb 2019 16:00:36 +0530 Subject: [PATCH] Nicer report when failing to process update check data Fixes #1389 --- kitty/boss.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/kitty/boss.py b/kitty/boss.py index 7475f1796..c9761a672 100644 --- a/kitty/boss.py +++ b/kitty/boss.py @@ -1012,7 +1012,10 @@ class Boss: except Exception as e: log_error('Failed to read data from update check process, with error: {}'.format(e)) else: - process_current_release(raw) + try: + process_current_release(raw) + except Exception as e: + log_error('Failed to process update check data {!r}, with error: {}'.format(raw, e)) def notification_activated(self, identifier): if identifier == 'new-version':