serverless-python-requirements icon indicating copy to clipboard operation
serverless-python-requirements copied to clipboard

fix: debug logs for command execution failure

Open estahn opened this issue 1 year ago • 1 comments

If docker command execution fails due to a bad Dockerfile the error will always be docker not found. This will allow to output the actual exception instead.

estahn avatar Jul 28 '22 14:07 estahn

Hey @estahn - thanks for the proposal. Could you provide a reproduction case for the situation you've mentioned? I see that the error will be docker not found only in the situations where the command not found will be found in output. Otherwise, the original error is thrown. Are you observing different behavior?

pgrzesik avatar Oct 01 '22 07:10 pgrzesik