Skip to content

Commit

Permalink
Put log file message on a separate line.
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Yang committed Apr 13, 2022
1 parent b49569a commit 8c0585b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metricflow/cli/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ def wrapper(*args, **kwargs): # type: ignore

if isinstance(args[0], CLIContext):
cli_context: CLIContext = args[0]
click.echo(f"\nERROR: {str(e)} - Log file: {cli_context.config.log_file_path}")
click.echo(f"\nERROR: {str(e)}\nLog file: {cli_context.config.log_file_path}")
else:
if not isinstance(args[0], CLIContext):
logger.error(
Expand Down

0 comments on commit 8c0585b

Please sign in to comment.