mirror of https://gitlab.com/bashrc2/epicyon
More descriptive exception
parent
9314812e88
commit
08e7ed1684
10
content.py
10
content.py
|
@ -272,8 +272,9 @@ def replaceEmojiFromTags(content: str, tag: [], messageType: str) -> str:
|
|||
content = content.replace(tagItem['name'],
|
||||
replaceChar)
|
||||
except BaseException:
|
||||
print('EX: replaceEmojiFromTags name ' +
|
||||
str(iconName) + ' ' +
|
||||
print('EX: replaceEmojiFromTags ' +
|
||||
'no conversion of ' +
|
||||
str(iconName) + ' to chr ' +
|
||||
tagItem['name'] + ' ' +
|
||||
tagItem['icon']['url'])
|
||||
pass
|
||||
|
@ -287,8 +288,9 @@ def replaceEmojiFromTags(content: str, tag: [], messageType: str) -> str:
|
|||
icode, 16))
|
||||
except BaseException:
|
||||
iconCodeSequence = ''
|
||||
print('EX: replaceEmojiFromTags code ' +
|
||||
str(icode) + ' ' +
|
||||
print('EX: replaceEmojiFromTags ' +
|
||||
'no conversion of ' +
|
||||
str(icode) + ' to chr ' +
|
||||
tagItem['name'] + ' ' +
|
||||
tagItem['icon']['url'])
|
||||
break
|
||||
|
|
Loading…
Reference in New Issue