Nicer report when failing to process update check data

Fixes #1389
This commit is contained in:
Kovid Goyal 2019-02-17 16:00:36 +05:30
parent 104e213934
commit 28f1b8a7a0
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -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:
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':