boxerror: details is not a subobject

This commit is contained in:
Girish Ramakrishnan
2025-10-17 20:25:46 +02:00
parent 0fb8914b67
commit 5bd6001f95
3 changed files with 19 additions and 15 deletions

View File

@@ -75,7 +75,7 @@ BoxError.prototype.toPlainObject = function () {
return {
message: this.message,
reason: this.reason,
details: this.details
...this.details
};
};