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: {}, \