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
|
import time
|
||||||
from threading import Event
|
from threading import Event
|
||||||
|
|
||||||
from requests import HTTPError, ConnectionError
|
|
||||||
import mycroft.lock
|
import mycroft.lock
|
||||||
from msm.exceptions import MsmException
|
from msm.exceptions import MsmException
|
||||||
|
|
||||||
|
@ -182,7 +181,7 @@ class DevicePrimer(object):
|
||||||
try:
|
try:
|
||||||
api = DeviceApi()
|
api = DeviceApi()
|
||||||
api.update_version()
|
api.update_version()
|
||||||
except (HTTPError, ConnectionError):
|
except Exception:
|
||||||
self._notify_backend_down()
|
self._notify_backend_down()
|
||||||
|
|
||||||
def _update_system(self):
|
def _update_system(self):
|
||||||
|
|
Loading…
Reference in New Issue