mirror of
https://github.com/actions-runner-controller/actions-runner-controller.git
synced 2026-10-09 04:05:49 +02:00
Include more context to errors raised by github/actions client (#4032)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -101,8 +101,7 @@ func TestCreateMessageSession(t *testing.T) {
|
||||
err,
|
||||
)
|
||||
|
||||
gotErr := err.(*actions.ActionsError)
|
||||
assert.Equal(t, want, gotErr)
|
||||
assert.Equal(t, want, errorTypeForComparison)
|
||||
})
|
||||
|
||||
t.Run("CreateMessageSession call is retried the correct amount of times", func(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user