File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -231,10 +231,13 @@ def CheckMytonctrlUpdate():
231231
232232
233233def CheckMytonctrl2Update ():
234- if not ton .find_myself_in_vl (): # we are not validator in current and prev rounds
235- print ('============================================================================================' )
236- color_print (local .translate ("update_mtc2_warning" ))
237- print ('============================================================================================' )
234+ try :
235+ if not ton .find_myself_in_vl (): # we are not validator in current and prev rounds
236+ print ('============================================================================================' )
237+ color_print (local .translate ("update_mtc2_warning" ))
238+ print ('============================================================================================' )
239+ except Exception as err :
240+ print (f'Failed to check node as validator: { err } ' )
238241# end define
239242
240243
You can’t perform that action at this time.
0 commit comments