feat(up): serialize errors before passing them to storage plugins

This commit is contained in:
Joakim Carlstein 2023-12-08 09:39:27 +01:00
parent 3b2b21f729
commit c1d55978d7
7 changed files with 43 additions and 26 deletions

View file

@ -0,0 +1,5 @@
---
'@emigrate/storage-fs': minor
---
Handle the serialized errors coming from Emigrate, so no need to serialize errors ourselves

View file

@ -0,0 +1,5 @@
---
'@emigrate/plugin-tools': minor
---
Add serializeError utility function for serializing Error instances

View 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