Skip to content
Prev Previous commit
Next Next commit
#409 catch exceptiopns
  • Loading branch information
otselnik committed Dec 25, 2021
commit 496e4da582a15f9c6519c678e2621a21ca378178
5 changes: 4 additions & 1 deletion proxy/indexer/indexer_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,10 @@ def _move_data_from_old_table(self):

def run(self):
while (True):
self.process_functions()
try:
self.process_functions()
except Exception as err:
logger.warning("Got exception while indexing. Type(err):%s, Exception:%s", type(err), err)
time.sleep(1.0)


Expand Down