Skip to content

Commit 9717191

Browse files
committed
added sdk property to event object
1 parent 62bfe99 commit 9717191

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

src/node/middlewares.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ const handleException = async (
134134
stack: error.stack as string,
135135
catchType: req ? CatchType.MIDDLEWARE : CatchType.INTERNAL,
136136
options,
137+
sdk: "NodeJS"
137138
};
138139

139140
if (req !== undefined) {

src/transport/events.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,5 @@ export interface KlepperEvent {
3232
priority?: ExceptionPriority;
3333
tag?: string;
3434
};
35+
sdk: string;
3536
}

0 commit comments

Comments
 (0)