shreyas-goenka
|
43bc9a0d9d
|
Use cmdio logger to log bricks cmd execution errors (#348)
## Changes
Uses the cmdio logger to log the execution error
## Tests
Manually by making the root command return fake errors. Here is the
output:
```
shreyas.goenka@THW32HFW6T bricks % bricks bundle validate
Error: my foo error
```
```
shreyas.goenka@THW32HFW6T bricks % bricks bundle validate --progress-format=json
{
"error": "my foo error"
}
```
---------
Co-authored-by: Pieter Noordhuis <pieter.noordhuis@databricks.com>
|
2023-04-24 12:11:52 +02:00 |