databricks-cli/libs
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
..
auth Make `bricks auth` use `all-apis` scope (#304) 2023-04-05 10:18:13 +02:00
cmdio Use cmdio logger to log bricks cmd execution errors (#348) 2023-04-24 12:11:52 +02:00
databrickscfg Bump github.com/databricks/databricks-sdk-go from 0.5.0 to 0.6.0 (#299) 2023-04-03 21:33:21 +02:00
filer Path escape file path in filer interface (#254) 2023-03-17 17:42:35 +01:00
fileset Don't sync symlink folders (#205) 2023-02-15 17:02:54 +01:00
flags Revert "Configure log level to info by default (#267)" (#307) 2023-04-05 15:37:09 +02:00
git Add tests for fileSet adding `databricks` to .gitignore (#325) 2023-04-12 12:04:10 +02:00
locker Acquire lock prior to deploy (#270) 2023-03-22 16:37:26 +01:00
log Trim log source field to basename of file (#273) 2023-03-23 08:56:39 +01:00
notebook Error out if notebook file does not exist locally (#261) 2023-03-21 18:13:16 +01:00
sync Update to Go SDK v0.8.0 (#351) 2023-04-21 10:30:20 +02:00
terraform Add bundle destroy command (#300) 2023-04-06 12:54:58 +02:00
testfile Refactor and cover edge cases in sync integration tests (#160) 2023-01-10 13:16:30 +01:00