Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display the error logs when the command fails #1789

Open
1 of 3 tasks
kandharvishnu opened this issue Jan 28, 2025 · 1 comment
Open
1 of 3 tasks

Display the error logs when the command fails #1789

kandharvishnu opened this issue Jan 28, 2025 · 1 comment
Assignees

Comments

@kandharvishnu
Copy link

kandharvishnu commented Jan 28, 2025

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

@danielkim525
Copy link

It is very confusing and incorrect that "See above for errors detected in your DAGs", but there is no "above" to see which errors were detected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants