Skip to content

Commit 81c326e

Browse files
author
Luca Forstner
committed
Code file
1 parent b3c336b commit 81c326e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/core/src/utils/prepareEvent.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ function applyDebugMetadata(event: Event, stackParser: StackParser): void {
153153
if (absPathDebugIdMap[absPath]) {
154154
images.push({
155155
type: 'sourcemap',
156-
source_filename: absPath,
156+
code_file: absPath,
157157
debug_id: absPathDebugIdMap[absPath],
158158
});
159159
}

packages/types/src/debugMeta.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ interface WasmDebugImage {
1717

1818
interface SourceMapDebugImage {
1919
type: 'sourcemap';
20-
source_filename: string; // abs_path
20+
code_file: string; // abs_path
2121
debug_id: string; // uuid
2222
}

0 commit comments

Comments
 (0)