mirror of https://gitlab.com/bashrc2/epicyon
More logging of exceptions
parent
b464d7b699
commit
9314812e88
|
@ -273,7 +273,9 @@ def replaceEmojiFromTags(content: str, tag: [], messageType: str) -> str:
|
|||
replaceChar)
|
||||
except BaseException:
|
||||
print('EX: replaceEmojiFromTags name ' +
|
||||
str(iconName))
|
||||
str(iconName) + ' ' +
|
||||
tagItem['name'] + ' ' +
|
||||
tagItem['icon']['url'])
|
||||
pass
|
||||
else:
|
||||
# sequence of codes
|
||||
|
@ -286,7 +288,9 @@ def replaceEmojiFromTags(content: str, tag: [], messageType: str) -> str:
|
|||
except BaseException:
|
||||
iconCodeSequence = ''
|
||||
print('EX: replaceEmojiFromTags code ' +
|
||||
str(icode))
|
||||
str(icode) + ' ' +
|
||||
tagItem['name'] + ' ' +
|
||||
tagItem['icon']['url'])
|
||||
break
|
||||
if iconCodeSequence:
|
||||
content = content.replace(tagItem['name'],
|
||||
|
|
Loading…
Reference in New Issue