Skip to content

Commit 8cd547e

Browse files
authored
[DI] Improve code comment (#5319)
1 parent 8e6c297 commit 8cd547e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/dd-trace/src/debugger/devtools_client/source-maps.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ const self = module.exports = {
3939
// might throw an uncatchable error from within `AsyncLocalStorage._propagate` with the following error message:
4040
//
4141
// TypeError: Cannot read properties of undefined (reading 'Symbol(kResourceStore)')
42+
//
43+
// Source: https://github.com/nodejs/node/blob/v18.20.6/lib/async_hooks.js#L312
4244
function cacheIt (key, value) {
4345
if (NODE_MAJOR < 20) return value
4446
cacheTime = Date.now()

0 commit comments

Comments
 (0)