Skip to content

Commit

Permalink
Added PassThroughException to __init__.py imports. (#1194)
Browse files Browse the repository at this point in the history
Co-authored-by: Todd Leonhardt <todd.leonhardt@gmail.com>
  • Loading branch information
kmvanbrunt and tleonhardt committed Jan 26, 2022
1 parent de5cd40 commit b052dcd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
* Bug Fixes
* Fixed issue in `ansi.async_alert_str()` which would raise `IndexError` if prompt was blank.
* Enhancements
* Added broader exception handling when enabling clipboard functionality via `pyperclip`.
* Added broader exception handling when enabling clipboard functionality via `pyperclip`.
* Added `PassThroughException` to `__init__.py` imports.

## 2.3.3 (November 29, 2021)
* Enhancements
Expand Down
8 changes: 7 additions & 1 deletion cmd2/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,13 @@
from .command_definition import CommandSet, with_default_category
from .constants import COMMAND_NAME, DEFAULT_SHORTCUTS
from .decorators import with_argument_list, with_argparser, with_category, as_subcommand_to
from .exceptions import Cmd2ArgparseError, CommandSetRegistrationError, CompletionError, SkipPostcommandHooks
from .exceptions import (
Cmd2ArgparseError,
CommandSetRegistrationError,
CompletionError,
PassThroughException,
SkipPostcommandHooks,
)
from . import plugin
from .parsing import Statement
from .py_bridge import CommandResult
Expand Down

0 comments on commit b052dcd

Please sign in to comment.