Exception message

merge-requests/6/head
Bob Mottram 2019-12-12 17:49:16 +00:00
parent 7eca0b33be
commit 851ac0fc18
1 changed files with 3 additions and 2 deletions

View File

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