Skip to content

Commit

Permalink
feat: import pretty_traceback if it exists
Browse files Browse the repository at this point in the history
  • Loading branch information
iloveitaly committed Oct 29, 2023
1 parent 4ddaace commit 93e6246
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions netsuite/cli/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@
from ..constants import DEFAULT_INI_PATH, DEFAULT_INI_SECTION
from . import helpers, interact, misc, rest_api, restlet, soap_api

# include pretty_traceback if it exists for better dev tracebacks in CLI
try:
import pretty_traceback

pretty_traceback.install()
except ImportError:
pass

__all__ = ("main",)


Expand Down

0 comments on commit 93e6246

Please sign in to comment.