Skip to content

Commit 835fe81

Browse files
committed
Use log entry attribute constant in api
1 parent b3e8d14 commit 835fe81

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/telemetry/src/api.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,8 @@ export function captureError(
9494
}
9595

9696
// Add app version metadata
97-
customAttributes['app.version'] = getAppVersion(telemetry);
97+
customAttributes[LOG_ENTRY_ATTRIBUTE_KEYS.APP_VERSION] =
98+
getAppVersion(telemetry);
9899

99100
// Add session ID metadata
100101
const sessionId = getSessionId();

0 commit comments

Comments
 (0)