From 851ac0fc1866ceaccb5cb49033c619f681975035 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 12 Dec 2019 17:49:16 +0000 Subject: [PATCH] Exception message --- inbox.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/inbox.py b/inbox.py index 965234c76..6d3eb1447 100644 --- a/inbox.py +++ b/inbox.py @@ -99,8 +99,9 @@ def storeHashTags(baseDir: str,postJsonObject: {}) -> None: content = tagsFile.read() tagsFile.seek(0, 0) tagsFile.write(postUrl+'\n'+content) - except: - pass + except Exception as e: + print('WARN: Failed to write entry to tags file '+ \ + tagsFilename+' '+str(e)) def inboxStorePostToHtmlCache(recentPostsCache: {},maxRecentPosts: int, \ translate: {}, \