log the error object instead of the string message only
log the error object instead of the string message only

Co-authored-by: Nick Sieger <c8220c89ae852d1ed80235b6ebbea871a8e7c839@gmail.com>
Signed-off-by: Guillaume Lours <319b5f03737dfce4d1ade3fc09087e9fa9c0d306@users.noreply.github.com>
docker/compose,docker/compose,docker/compose