diff --git a/src/extensions/exception-autocapture/stack-trace.ts b/src/extensions/exception-autocapture/stack-trace.ts index 7c1cbde44..868ac2744 100644 --- a/src/extensions/exception-autocapture/stack-trace.ts +++ b/src/extensions/exception-autocapture/stack-trace.ts @@ -33,11 +33,10 @@ export type StackLineParserFn = (line: string) => StackFrame | undefined export type StackLineParser = [number, StackLineParserFn] export interface StackFrame { - lang: string + platform: string filename?: string function?: string module?: string - platform?: string lineno?: number colno?: number abs_path?: string @@ -64,7 +63,7 @@ const GECKO_PRIORITY = 50 function createFrame(filename: string, func: string, lineno?: number, colno?: number): StackFrame { const frame: StackFrame = { - lang: 'javascript', + platform: 'javascript', filename, function: func === '' ? UNKNOWN_FUNCTION : func, in_app: true, // All browser frames are considered in_app