mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix: improve codersdk error messages when not JSON (#4495)
This commit is contained in:
@@ -134,7 +134,7 @@ func ProvisionerJob(ctx context.Context, writer io.Writer, opts ProvisionerJobOp
|
||||
|
||||
logs, closer, err := opts.Logs()
|
||||
if err != nil {
|
||||
return xerrors.Errorf("logs: %w", err)
|
||||
return xerrors.Errorf("begin streaming logs: %w", err)
|
||||
}
|
||||
defer closer.Close()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user