Commit 7352af0
committed
fix(cli): print migrate errors to stderr
The Migrate dispatcher logged exceptions through logger.error and then
exited with status 1, but the package logger uses NullHandler by
default so the user's terminal saw a silent non-zero exit. Print the
exception message to stderr in addition to logging it so failures
(e.g. plan-time validation errors) are always visible.1 parent 6721270 commit 7352af0
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| 76 | + | |
76 | 77 | | |
77 | 78 | | |
78 | 79 | | |
| |||
0 commit comments