Skip to content

Commit b052dcd

Browse files
Added PassThroughException to __init__.py imports. (#1194)
Co-authored-by: Todd Leonhardt <todd.leonhardt@gmail.com>
1 parent de5cd40 commit b052dcd

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
* Bug Fixes
33
* Fixed issue in `ansi.async_alert_str()` which would raise `IndexError` if prompt was blank.
44
* Enhancements
5-
* Added broader exception handling when enabling clipboard functionality via `pyperclip`.
5+
* Added broader exception handling when enabling clipboard functionality via `pyperclip`.
6+
* Added `PassThroughException` to `__init__.py` imports.
67

78
## 2.3.3 (November 29, 2021)
89
* Enhancements

cmd2/__init__.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,13 @@
5656
from .command_definition import CommandSet, with_default_category
5757
from .constants import COMMAND_NAME, DEFAULT_SHORTCUTS
5858
from .decorators import with_argument_list, with_argparser, with_category, as_subcommand_to
59-
from .exceptions import Cmd2ArgparseError, CommandSetRegistrationError, CompletionError, SkipPostcommandHooks
59+
from .exceptions import (
60+
Cmd2ArgparseError,
61+
CommandSetRegistrationError,
62+
CompletionError,
63+
PassThroughException,
64+
SkipPostcommandHooks,
65+
)
6066
from . import plugin
6167
from .parsing import Statement
6268
from .py_bridge import CommandResult

0 commit comments

Comments
 (0)