Skip to content

Commit

Permalink
交换楼层报错时记录日志
Browse files Browse the repository at this point in the history
  • Loading branch information
Zzaphkiel committed Jan 10, 2024
1 parent 98d1603 commit 3027a8c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/view/main_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
from ..components.temp_system_tray_menu import TmpSystemTrayMenu
from ..common.icons import Icon
from ..common.config import cfg, VERSION
from ..common.logger import logger
from ..components.update_message_box import UpdateMessageBox
from ..lol.entries import Summoner
from ..lol.exceptions import (SummonerGamesNotFound, RetryMaximumAttempts,
Expand Down Expand Up @@ -932,6 +933,7 @@ def __onGoingSwap(self, info: dict):
self.gameInfoInterface.allySummonersInfoReady.emit(
{"summoners": tmp})
except:
logger.error(f"__onGoingSwap, tmp: {tmp}, buf: {buf}, info: {info}", "GameInfoInterface")
return

def __onChampSelectChanged(self, data):
Expand Down

0 comments on commit 3027a8c

Please sign in to comment.