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)
|
replaceChar)
|
||||||
except BaseException:
|
except BaseException:
|
||||||
print('EX: replaceEmojiFromTags name ' +
|
print('EX: replaceEmojiFromTags name ' +
|
||||||
str(iconName))
|
str(iconName) + ' ' +
|
||||||
|
tagItem['name'] + ' ' +
|
||||||
|
tagItem['icon']['url'])
|
||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
# sequence of codes
|
# sequence of codes
|
||||||
|
@ -286,7 +288,9 @@ def replaceEmojiFromTags(content: str, tag: [], messageType: str) -> str:
|
||||||
except BaseException:
|
except BaseException:
|
||||||
iconCodeSequence = ''
|
iconCodeSequence = ''
|
||||||
print('EX: replaceEmojiFromTags code ' +
|
print('EX: replaceEmojiFromTags code ' +
|
||||||
str(icode))
|
str(icode) + ' ' +
|
||||||
|
tagItem['name'] + ' ' +
|
||||||
|
tagItem['icon']['url'])
|
||||||
break
|
break
|
||||||
if iconCodeSequence:
|
if iconCodeSequence:
|
||||||
content = content.replace(tagItem['name'],
|
content = content.replace(tagItem['name'],
|
||||||
|
|
Loading…
Reference in New Issue