Garden-AI / garden

https://garden-ai.readthedocs.io
MIT License
17 stars 4 forks source link

Elegantly display build errors during `garden-ai publish` #367

Closed WillEngler closed 7 months ago

WillEngler commented 9 months ago

Error handling in garden-ai publish has a feast or famine dynamic. If a fatal error happens while building your container and you haven't used the --verbose flag, you basically get no explanation of what went wrong. If you do use the verbose flag, then you get some big typer stack traces and if you scroll up a bit in your terminal you can see the error message you needed to see.

How to repro:

We should give the right error message to explain where a user should try to fix their notebook without --verbose. With --verbose we should highlight the helpful message and not show irrelevant stack traces.

Assumptions:

1. 2.

Acceptance Criteria

Given..., when..., then...