actions / runner-container-hooks

Runner Container Hooks for GitHub Actions
MIT License
63 stars 41 forks source link

Switch exec pod promise to reject on websocket error #127

Closed nikola-jokic closed 5 months ago

nikola-jokic commented 6 months ago

Exec returns a websocket. If websocket fails, we should reject the promise. Otherwise, websocket will call a callback. Since at that point, websocket is not failing, we can safely resolve or reject the promise.

Fixes #107