databricks / click

The "Command Line Interactive Controller for Kubernetes"
Apache License 2.0
1.49k stars 85 forks source link

Make requests return ClickErrors, and env return Result not Option #164

Closed nicklan closed 2 years ago

nicklan commented 2 years ago

This allows better error handling at higher levels. For this particular PR the main noticable difference is that the logs command will print a more reasonable error if the api-server returns a failure.