From 5462e990dc10e7ca6d3a773844fe14e227b5dbb8 Mon Sep 17 00:00:00 2001 From: Lee Miller Date: Fri, 23 Sep 2022 08:16:49 +0300 Subject: [PATCH] Don't log FileNotFoundError while loading I2P destination private key --- minode/main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/minode/main.py b/minode/main.py index 036c711..84f6f87 100644 --- a/minode/main.py +++ b/minode/main.py @@ -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.',