Skip to content

Commit

Permalink
Fix: Typer stacktraces are difficult to use in an IDE
Browse files Browse the repository at this point in the history
Typer displays fancy colorful stacktraces, but they are also too verbose and more difficult to read than the standard stacktraces.

This disables the pretty stacktraces display of Typer.
  • Loading branch information
hoh committed Jun 7, 2024
1 parent 991ae3c commit e225b98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aleph_client/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
program,
)

app = AsyncTyper(no_args_is_help=True)
app = AsyncTyper(no_args_is_help=True, pretty_exceptions_enable=False)

app.add_typer(account.app, name="account", help="Manage account")
app.add_typer(
Expand Down

0 comments on commit e225b98

Please sign in to comment.