fix: print error when docker build fails

This commit is contained in:
Typed SIGTERM
2025-08-30 13:41:40 +08:00
committed by GitHub
parent 7273c636a0
commit caf244120c

View File

@@ -42,7 +42,7 @@ export const buildDocker = async (
await mechanizeDockerContainer(application);
writeStream.write("\nDocker Deployed: ✅\n");
} catch (error) {
writeStream.write("❌ Error");
writeStream.write("❌ ${error}");
throw error;
} finally {
writeStream.end();