Skip to content

Commit 22ed15d

Browse files
Update lib/internal/logger/serializers.js
Co-authored-by: Yagiz Nizipli <[email protected]>
1 parent 83a12b7 commit 22ed15d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/internal/logger/serializers.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ function serializeErr(error) {
1212
}
1313

1414
const obj = {
15+
__proto__: null,
1516
type: error.constructor.name,
1617
message: error.message,
1718
stack: error.stack,

0 commit comments

Comments
 (0)