Skip to content

Commit e7fc429

Browse files
committed
chore(examples): improve error logging during migration failure
1 parent 9ad180b commit e7fc429

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

examples/demos/nodejs/src/migrate.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ main()
8888
process.exit(0);
8989
})
9090
.catch((error) => {
91+
console.log("Migration failed:", error.message);
92+
9193
askQuestion("Press 'e' and Enter to see the full error details: ").then(
9294
(answer) => {
9395
if (answer === "e") {

0 commit comments

Comments
 (0)