forked from platypush/platypush
Don't terminate the entities engine thread if a batch of entity records fails
This commit is contained in:
parent
fe0f3202fe
commit
91ff47167b
1 changed files with 5 additions and 1 deletions
|
@ -54,7 +54,11 @@ class EntitiesEngine(Thread):
|
|||
if not msgs or self.should_stop:
|
||||
continue
|
||||
|
||||
try:
|
||||
self._process_entities(*msgs)
|
||||
except Exception as e:
|
||||
self.logger.error('Error while processing entity updates: ' + str(e))
|
||||
self.logger.exception(e)
|
||||
|
||||
self.logger.info('Stopped entities engine')
|
||||
|
||||
|
|
Loading…
Reference in a new issue