fix(cli): make sure errors passed to the storage are serialized correctly
This commit is contained in:
parent
f1b9098750
commit
f2d4bb346e
3 changed files with 138 additions and 54 deletions
|
|
@ -23,6 +23,7 @@ export class EmigrateError extends Error {
|
|||
public code?: string,
|
||||
) {
|
||||
super(message, options);
|
||||
this.name = this.constructor.name;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue