We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0ba798 commit 080e6f0Copy full SHA for 080e6f0
codersdk/workspacesdk/dialer.go
@@ -24,6 +24,8 @@ var permanentErrorStatuses = []int{
24
http.StatusBadRequest, // returned if API mismatch
25
http.StatusNotFound, // returned if user doesn't have permission or agent doesn't exist
26
http.StatusInternalServerError, // returned if database is not reachable,
27
+ http.StatusUnauthorized, // returned if user is not authenticated
28
+ http.StatusForbidden, // returned if user is not authorized
29
}
30
31
type WebsocketDialer struct {
0 commit comments