You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Python: show errors from establishing session #4321
Below is an example with a modified version of our dagger session where it should retrieve the stderr of buildkit.
Instead, we get the a Dagger engine failed to start error:
Traceback (most recent call last):
...
File "/private/tmp/dagger/sdk/python/src/dagger/engine/cli.py", line 33, in __enter__
raise ProvisionError("Dagger engine failed to start") from e
dagger.exceptions.ProvisionError: Dagger engine failed to start
Activity
helderco commentedon Jan 6, 2023
Thank you for adding this. It's one of the FIXMEs, I'll need to hunt them and create issues for them soon.
[-]feat: Python SDK: handle errors from establishing session[/-][+]Python: show errors from establishing session[/+]helderco commentedon Jan 11, 2023
This is actually the part that matters here:
dagger/sdk/python/src/dagger/engine/cli.py
Lines 77 to 82 in 367e95c
The code you point to in the description is covered here: