Skip to content

Commit 6c7e4b6

Browse files
erightsCopilot
andauthored
Co-pilot's suggested comment is helpful!
Thank you co-pilot. Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 40f0cf6 commit 6c7e4b6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/ses/src/error/tame-error-constructor.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ export default function tameErrorConstructor(
6868
}
6969
};
7070
const sacrificialError = new FERAL_ERROR('just for testing');
71+
// Intentionally access sacrificialError.stack to trigger prepareStackTrace for platform detection.
7172
sacrificialError.stack;
7273
} finally {
7374
delete FERAL_ERROR.prepareStackTrace;

0 commit comments

Comments
 (0)