actions / runner-container-hooks

Runner Container Hooks for GitHub Actions
MIT License
76 stars 46 forks source link

docker and k8s: read from stdin inside try catch block #49

Closed nikola-jokic closed 1 year ago

nikola-jokic commented 1 year ago

There might be situation where reading from standard input fails. In that case, we should encapsulate that exception within the try catch block to avoid unhandeled Promise rejection exception and provide more information about the error