Skip to content

Commit

Permalink
Fix infinite loop
Browse files Browse the repository at this point in the history
  • Loading branch information
tandemdude committed Apr 4, 2024
1 parent d452c2e commit a165d69
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lightbulb/commands/execution.py
Expand Up @@ -170,6 +170,7 @@ async def _run(self) -> None:
if self._current_step == ExecutionSteps.INVOKE:
try:
await getattr(self._context.command, self._context.command_data.invoke_method)(self._context)
self._current_step = self._next_step()
continue
except Exception as e:
raise exceptions.InvocationFailedException(e, self._context)
Expand Down

0 comments on commit a165d69

Please sign in to comment.