Merge pull request #2311 from forslund/bugfix/gotta-catch-em-all
Catch all exceptions from upload device infopull/2313/head
commit
fa6d826244
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue