fix: fix mistakes

This commit is contained in:
acgnhik 2022-06-05 22:31:48 +08:00
parent b17dcae713
commit 415cb692ec

View File

@ -191,6 +191,7 @@ class DanmakuClient(EventEmitter[DanmakuListener], AsyncStoppableMixin):
self._danmu_info = await api.get_danmu_info(self._room_id) self._danmu_info = await api.get_danmu_info(self._room_id)
except Exception as exc: except Exception as exc:
logger.warning(f'Failed to update danmu info: {repr(exc)}') logger.warning(f'Failed to update danmu info: {repr(exc)}')
raise
else: else:
logger.debug('Danmu info updated') logger.debug('Danmu info updated')