show warning with original message when theme not found
This commit is contained in:
parent
9dce37a864
commit
f7d13734f4
1 changed files with 2 additions and 0 deletions
2
ubot.py
2
ubot.py
|
@ -277,6 +277,8 @@ async def main():
|
|||
if r:
|
||||
logger.debug(f'found theme {trying_theme_index}')
|
||||
break
|
||||
if r == []:
|
||||
logger.warning('theme not found, showing original message: ' + m.text)
|
||||
logger.debug(str(r))
|
||||
if r:
|
||||
u1url = r[0][0]
|
||||
|
|
Loading…
Reference in a new issue