We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 574a1ed commit e11a0fbCopy full SHA for e11a0fb
src/fastapi_cli/cli.py
@@ -100,7 +100,8 @@ def _run(
100
try:
101
import_data = get_import_data(path=path, app_name=app)
102
except FastAPICLIException as e:
103
- logger.error(str(e))
+ toolkit.print_line()
104
+ toolkit.print(f"[error]{e}")
105
raise typer.Exit(code=1) from None
106
107
logger.debug(f"Importing from {import_data.module_data.extra_sys_path}")
0 commit comments