Details
-
Bug
-
Resolution: Unresolved
-
Minor
-
7.6.0
-
Untriaged
-
0
-
No
Description
What's the issue?
As it stands, we wrap the error returned to the user when trying to create their dataset location ([source|https://github.com/couchbase/backup/blob/3b630f9ff4e900fa447e9bf9a0ebab0260dab42b/jsondata/writer.go#L53).
2023-06-24T11:38:07.232+00:00 JSON export failed: failed to get export transferable: failed to create JSON sink: failed to create writer: failed to create file at './travel.json': open ./travel.json: permission denied
|
JSON export failed: permission denied
|
This results in errors that are misleading without using --verbose.
What's the fix?
We should avoid wrapping the error.