diff --git a/tasks/rogue/rogue.py b/tasks/rogue/rogue.py index 5e2f56750..92b78a45d 100644 --- a/tasks/rogue/rogue.py +++ b/tasks/rogue/rogue.py @@ -1,3 +1,4 @@ +from module.exception import ScriptError from module.logger import logger from tasks.battle_pass.keywords import KEYWORDS_BATTLE_PASS_QUEST from tasks.daily.keywords import KEYWORDS_DAILY_QUEST @@ -20,8 +21,7 @@ class Rogue(RouteLoader, RogueEntry): except RogueTeamNotPrepared: logger.error(f'Please prepare your team in {self.config.RogueWorld_World} ' f'and start rogue task at team preparation page') - self.rogue_world_exit() - return False + raise ScriptError except RogueReachedWeeklyPointLimit: logger.hr('Reached rogue weekly point limit') return False