softprops / serverless-localhost

MIT License
9 stars 6 forks source link

Handle docker pull errors #17

Open jessbowers opened 3 years ago

jessbowers commented 3 years ago

What did you implement:

Properly handles a crash when the docker.pull fails (eg a 404) by showing the error.

Closes: #13

What did you need this functionality for

When using a Rust serverless, it doesn't work & crashes with a mysterious error (Cannot read property 'pipe' of null). However the real issue is that the docker image doesn't exist for rust.

How did you verify your change:

npm compile npm link ran in my project, verified that the error message is more clear

What (if anything) would need to be called out in the CHANGELOG for the next release: