@@ -553,8 +553,7 @@ def sendBroadcast(self):
553553 # , privEncryptionKeyHex
554554 privSigningKeyHex , _ , pubSigningKey , pubEncryptionKey = \
555555 self ._getKeysForAddress (fromaddress )
556- except (configparser .NoSectionError , configparser .NoOptionError ) as err :
557- self .logger .warning ("Section or Option did not found: %s" , err )
556+ except ValueError :
558557 queues .UISignalQueue .put ((
559558 'updateSentItemStatusByAckdata' , (
560559 ackdata ,
@@ -563,6 +562,7 @@ def sendBroadcast(self):
563562 "Error! Could not find sender address"
564563 " (your address) in the keys.dat file." ))
565564 ))
565+ continue
566566 except Exception as err :
567567 self .logger .error (
568568 'Error within sendBroadcast. Could not read'
@@ -1142,8 +1142,7 @@ def sendMsg(self):
11421142 privSigningKeyHex , privEncryptionKeyHex , \
11431143 pubSigningKey , pubEncryptionKey = self ._getKeysForAddress (
11441144 fromaddress )
1145- except (configparser .NoSectionError , configparser .NoOptionError ) as err :
1146- self .logger .warning ("Section or Option did not found: %s" , err )
1145+ except ValueError :
11471146 queues .UISignalQueue .put ((
11481147 'updateSentItemStatusByAckdata' , (
11491148 ackdata ,
@@ -1152,6 +1151,7 @@ def sendMsg(self):
11521151 "Error! Could not find sender address"
11531152 " (your address) in the keys.dat file." ))
11541153 ))
1154+ continue
11551155 except Exception as err :
11561156 self .logger .error (
11571157 'Error within sendMsg. Could not read'
0 commit comments