Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Commit 463a882

Browse files
committed
godot will be the bane of me
1 parent 649b468 commit 463a882

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

internal/cmd/errors.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,14 @@ package cmd
33
import (
44
"encoding/json"
55

6+
"golang.org/x/xerrors"
7+
68
"cdr.dev/coder-cli/coder-sdk"
79
"cdr.dev/coder-cli/pkg/clog"
8-
"golang.org/x/xerrors"
910
)
1011

1112
// handleAPIError attempts to convert an api error into a more detailed clog error.
12-
// If it cannot, it will return the original error
13+
// If it cannot, it will return the original error.
1314
func handleAPIError(origError error) error {
1415
var httpError *coder.HTTPError
1516
if !xerrors.As(origError, &httpError) {

0 commit comments

Comments
 (0)