add debug logs

This commit is contained in:
Joseph Garrone
2024-10-05 22:28:36 +02:00
parent 7b9aec4ed0
commit 881386a123
2 changed files with 8 additions and 1 deletions

View File

@ -33,7 +33,10 @@ export function callHandlerIfAny(params: {
[CUSTOM_HANDLER_ENV_NAMES.BUILD_CONTEXT]: JSON.stringify(buildContext)
}
});
} catch (error) {
} catch (error: any) {
console.log(error.message);
console.log(error.status);
assert(is<child_process.ExecException>(error));
if (error.code === NOT_IMPLEMENTED_EXIT_CODE) {