Don't log FileNotFoundError while loading I2P destination private key
This commit is contained in:
parent
140e0139ef
commit
5462e990dc
|
@ -216,6 +216,8 @@ def start_i2p_listener():
|
||||||
) as src:
|
) as src:
|
||||||
dest_priv = src.read()
|
dest_priv = src.read()
|
||||||
logging.debug('Loaded I2P destination private key.')
|
logging.debug('Loaded I2P destination private key.')
|
||||||
|
except FileNotFoundError:
|
||||||
|
pass
|
||||||
except Exception:
|
except Exception:
|
||||||
logging.info(
|
logging.info(
|
||||||
'Error while loading I2P destination private key.',
|
'Error while loading I2P destination private key.',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user