Don't log FileNotFoundError while loading I2P destination private key

This commit is contained in:
Lee Miller 2022-09-23 08:16:49 +03:00
parent 140e0139ef
commit 5462e990dc
Signed by: lee.miller
GPG Key ID: 4F97A5EA88F4AB63

View File

@ -216,6 +216,8 @@ def start_i2p_listener():
) as src:
dest_priv = src.read()
logging.debug('Loaded I2P destination private key.')
except FileNotFoundError:
pass
except Exception:
logging.info(
'Error while loading I2P destination private key.',