From: Roland Häder <roland@mxchange.org>
Date: Wed, 17 May 2023 05:51:25 +0000 (+0200)
Subject: WIP:
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a45f606aee538b1e293c55a15a9e77e3cbe4be2b;p=fba.git

WIP:
- added else block for any unknown type
---

diff --git a/fetch_blocks.py b/fetch_blocks.py
index b5cb55d..5ded601 100644
--- a/fetch_blocks.py
+++ b/fetch_blocks.py
@@ -318,6 +318,8 @@ for blocker, software in c.fetchall():
                 fba.conn.commit()
         except Exception as e:
             print("error:", e, blocker)
+    else:
+        print("WARNING: Unknown software:", software)
 
     if config["bot_enabled"] and len(blockdict) > 0:
         send_bot_post(blocker, blockdict)