Skip to content

Commit

Permalink
Forbidden should not swallow the underlying error
Browse files Browse the repository at this point in the history
  • Loading branch information
derekwaynecarr committed Jan 15, 2015
1 parent 4cd345b commit e5b5505
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/api/errors/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ func NewForbidden(kind, name string, err error) error {
Kind: kind,
ID: name,
},
Message: fmt.Sprintf("%s %q is forbidden", kind, name),
Message: fmt.Sprintf("%s %q is forbidden: %v", kind, name, err),
}}
}

Expand Down

0 comments on commit e5b5505

Please sign in to comment.