Skip to content

Display the error logs when the command fails #1789

@kandharvishnu

Description

@kandharvishnu

Describe the Bug

The PR #1770 removed all logs from the Astro CLI output, resulting in limited information being displayed during errors. It would be helpful to show more detailed logs, particularly when a command fails.

For example, when running the astro dev parse command and it fails, the following logs are displayed:

Checking your DAGs for errors,
this might take a minute if you haven't run this command before…
heavy_check_mark Project image has been updated
Error: See above for errors detected in your DAGs

However, instead of showing generic errors, it would be more appropriate and helpful to display specific errors related to the DAGs that failed to parse.

What CLI Version did you experience this bug?
1.33.0

Which Astronomer Platform is this CLI bug related to?

  • Astro
  • Software
  • None/Unknown

What Operating System is the CLI installed on?
macOS

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions