Skip to content

Commit

Permalink
handle non-string traceid and spanid
Browse files Browse the repository at this point in the history
  • Loading branch information
liammclennan committed Mar 19, 2024
1 parent 1cf0d6c commit c6cc52a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions seq_logger.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ module.exports = function (safeGlobalBlob, safeGlobalFetch, safeGlobalAbortContr
return {
Timestamp: timestamp,
Level: level,
TraceId: event.traceId,
SpanId: event.spanId,
TraceId: event.traceId?.toString(),
SpanId: event.spanId?.toString(),
MessageTemplate: messageTemplate,
Exception: exception,
Properties: properties
Expand Down

0 comments on commit c6cc52a

Please sign in to comment.