Skip to content

Commit

Permalink
Update transport.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
ruudvanbuul authored Jan 9, 2023
1 parent 30615a5 commit 1c1501b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/transport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export default class SentryTransport extends TransportStream {

if (this.silent) return callback();

const { message, tags, user, ...meta } = info;
const { message, name, level, stack, tags, user, ...meta } = info;
const winstonLevel = info[LEVEL];

const sentryLevel = this.levelsMap[winstonLevel];
Expand All @@ -85,9 +85,9 @@ export default class SentryTransport extends TransportStream {
scope.setTags(tags);
}

delete meta.name;
delete meta.level;
delete meta.stack;
// delete meta.name;
// delete meta.level;
// delete meta.stack;

scope.setExtras(meta);

Expand Down

0 comments on commit 1c1501b

Please sign in to comment.