forked from platformio/platformio-core
Skip thread exceptions for telemetry
This commit is contained in:
@ -177,6 +177,7 @@ class MPDataPusher(object):
|
||||
|
||||
def _worker(self):
|
||||
while True:
|
||||
try:
|
||||
item = self._queue.get()
|
||||
_item = item.copy()
|
||||
if "qt" not in _item:
|
||||
@ -187,6 +188,8 @@ class MPDataPusher(object):
|
||||
else:
|
||||
self._http_offline = True
|
||||
self._queue.task_done()
|
||||
except: # pylint: disable=W0702
|
||||
pass
|
||||
|
||||
def _send_data(self, data):
|
||||
result = False
|
||||
|
Reference in New Issue
Block a user