mirror of
https://github.com/actions-runner-controller/actions-runner-controller.git
synced 2026-10-03 09:18:05 +02:00
Refactor actions client error to include request id (#3430)
Co-authored-by: Francesco Renzi <rentziass@gmail.com>
This commit is contained in:
co-authored by
Francesco Renzi
parent
963ae48a3f
commit
8075e5ee74
@@ -98,7 +98,7 @@ func TestGetMessage(t *testing.T) {
|
||||
|
||||
t.Run("Status code not found", func(t *testing.T) {
|
||||
want := actions.ActionsError{
|
||||
Message: "Request returned status: 404 Not Found",
|
||||
Err: errors.New("unknown exception"),
|
||||
StatusCode: 404,
|
||||
}
|
||||
server := newActionsServer(t, http.HandlerFunc(func(w http.ResponseWriter, _ *http.Request) {
|
||||
|
||||
Reference in New Issue
Block a user