Merge pull request #2311 from forslund/bugfix/gotta-catch-em-all

Catch all exceptions from upload device info
pull/2313/head
Åke 2019-09-17 12:07:32 +02:00 committed by GitHub
commit fa6d826244
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -21,7 +21,6 @@ directory. The executable gets added to the bin directory when installed
import time
from threading import Event
from requests import HTTPError, ConnectionError
import mycroft.lock
from msm.exceptions import MsmException
@ -182,7 +181,7 @@ class DevicePrimer(object):
try:
api = DeviceApi()
api.update_version()
except (HTTPError, ConnectionError):
except Exception:
self._notify_backend_down()
def _update_system(self):