From 084d8056f952fbb4bd1c446a741cef4773160660 Mon Sep 17 00:00:00 2001 From: thomas-tacquet Date: Wed, 7 Sep 2022 22:11:33 +0200 Subject: [PATCH] Error content lost on try/catch block --- deploy/lib/buildAndPushContainers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/lib/buildAndPushContainers.js b/deploy/lib/buildAndPushContainers.js index 01a05083..7fb6ebce 100644 --- a/deploy/lib/buildAndPushContainers.js +++ b/deploy/lib/buildAndPushContainers.js @@ -62,7 +62,7 @@ module.exports = { try { await docker.checkAuth(registryAuth); } catch (err) { - throw new Error(`Authentication to registry failed`); + throw new Error(`Docker error : ${err}`); } const containerNames = Object.keys(this.containers);