Skip to content

Commit b3593cb

Browse files
committed
include all props from toJSON
1 parent d6c0069 commit b3593cb

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

packages/integrations/src/extraerrordata.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,6 @@ export class ExtraErrorData implements Integration {
105105
const serializedError = error.toJSON() as Record<string, unknown>;
106106

107107
for (const key of Object.keys(serializedError)) {
108-
if (nativeKeys.indexOf(key) !== -1) {
109-
continue;
110-
}
111108
const value = serializedError[key];
112109
extraErrorInfo[key] = isError(value) ? (value as Error).toString() : value;
113110
}

0 commit comments

Comments
 (0)