mirror of https://github.com/databricks/cli.git
This commit is contained in:
parent
da7e9e23ca
commit
6492404d38
|
@ -88,6 +88,7 @@ func Upload(ctx context.Context) (*ResponseBody, error) {
|
||||||
return resp, nil
|
return resp, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Log API output if the upload failed for debugging purposes.
|
||||||
fmt.Fprintf(os.Stderr, "attempt %d:\n", i)
|
fmt.Fprintf(os.Stderr, "attempt %d:\n", i)
|
||||||
fmt.Fprintf(os.Stderr, "err: %s\n", err)
|
fmt.Fprintf(os.Stderr, "err: %s\n", err)
|
||||||
fmt.Fprintf(os.Stderr, "response body: %#v\n", resp)
|
fmt.Fprintf(os.Stderr, "response body: %#v\n", resp)
|
||||||
|
|
Loading…
Reference in New Issue