Skip to content
This repository was archived by the owner on Apr 3, 2024. It is now read-only.

Commit 48a9952

Browse files
authored
Report FUNCTION_NAME as the description (#247)
1 parent cfc4f3f commit 48a9952

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/agent/debuglet.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,10 @@ Debuglet.createDebuggee =
280280
}
281281
}
282282

283+
if (!description && process.env.FUNCTION_NAME) {
284+
description = 'Function: ' + process.env.FUNCTION_NAME;
285+
}
286+
283287
if (description) {
284288
desc += ' description:' + description;
285289
}

0 commit comments

Comments
 (0)