Skip to content

Conversation

@cytadela8
Copy link
Contributor

When exception happens inside with statement it's escalated to the
contextmanager from with statement. By placing `self.command_cwds.pop()'
in finally block we make sure command prefixes are handled correctly on
exceptions in user code.

When exception happens inside with statement it's escalated to the
contextmanager from with statement. By placing `self.command_cwds.pop()'
in finally block we make sure command prefixes are handled correctly on
exceptions in user code.
@omarmarquez
Copy link

+1

@bitprophet
Copy link
Member

Thanks for this, #557 beat you to the with cd fix but missed the sibling change to with prefix 👍 ✨

@omarmarquez
Copy link

Great that this have been fixed. When can expect it to be merged and released?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants