feat(reporter-default): improve error logging by logging all own properties of the errors

This commit is contained in:
Joakim Carlstein 2023-12-12 15:36:30 +01:00
parent a79f8e8e37
commit bc33e63e3e
3 changed files with 30 additions and 9 deletions

View file

@ -11,7 +11,6 @@ export class EmigrateError extends Error {
options?: ErrorOptions,
) {
super(message, options);
this.name = `${this.name} [${this.code}]`;
}
}