show warning with original message when theme not found

This commit is contained in:
Your Name 2024-12-08 17:32:57 +03:00
parent 9dce37a864
commit f7d13734f4

View file

@ -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]