feat(up): improve error handling and presentation
This commit is contained in:
parent
b57c86eaab
commit
8347fc1fa4
6 changed files with 83 additions and 29 deletions
5
.changeset/giant-files-serve.md
Normal file
5
.changeset/giant-files-serve.md
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'@emigrate/cli': patch
|
||||
---
|
||||
|
||||
Don't pass the EmigrateError instance to the storage for each failed migration but only the real cause. This is so that errors from failed migrations are not wrapped twice in EmigrateError instances when presenting failed migrations during an "up" dry-run or the "list" command.
|
||||
Loading…
Add table
Add a link
Reference in a new issue