astronomer / astro-cli

CLI that makes it easy to create, test and deploy Airflow DAGs to Astronomer
https://www.astronomer.io
Other
334 stars 70 forks source link

Add error msg if API Token is expired #1634

Closed ichung08 closed 2 months ago

ichung08 commented 2 months ago

Description

Describe the purpose of this pull request.

We want to explicitly log to users when an API token is expired.

๐ŸŽŸ Issue(s)

Related #1469

๐Ÿงช Functional Testing

List the functional testing steps to confirm this feature or fix.

๐Ÿ“ธ Screenshots

Screenshot 2024-04-29 at 6 43 53 PM

Add screenshots to illustrate the validity of these changes.

๐Ÿ“‹ Checklist

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 86.75%. Comparing base (25d67f4) to head (8d5e293).

:exclamation: Current head 8d5e293 differs from pull request most recent head ecba307. Consider uploading reports for the commit ecba307 to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1634 +/- ## ======================================= Coverage 86.74% 86.75% ======================================= Files 114 114 Lines 16686 16689 +3 ======================================= + Hits 14475 14478 +3 Misses 1321 1321 Partials 890 890 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.