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:
Nikola Jokic
2025-04-11 11:36:15 +02:00
committed by GitHub
co-authored by Copilot
parent 462db4dfc8
commit 15990d492d
2 changed files with 70 additions and 67 deletions
@@ -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) {