feat(up): serialize errors before passing them to storage plugins
This commit is contained in:
parent
3b2b21f729
commit
c1d55978d7
7 changed files with 43 additions and 26 deletions
5
.changeset/friendly-bears-trade.md
Normal file
5
.changeset/friendly-bears-trade.md
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'@emigrate/storage-fs': minor
|
||||
---
|
||||
|
||||
Handle the serialized errors coming from Emigrate, so no need to serialize errors ourselves
|
||||
5
.changeset/gold-suits-judge.md
Normal file
5
.changeset/gold-suits-judge.md
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'@emigrate/plugin-tools': minor
|
||||
---
|
||||
|
||||
Add serializeError utility function for serializing Error instances
|
||||
5
.changeset/sixty-horses-kiss.md
Normal file
5
.changeset/sixty-horses-kiss.md
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'@emigrate/cli': minor
|
||||
---
|
||||
|
||||
Serialize errors before passing them to the storage so that storage plugins doesn't have to care about serialization of errors
|
||||
Loading…
Add table
Add a link
Reference in a new issue