Skip to content

Commit

Permalink
[pinpoint-apm#86] fix span recorder error method crash issue
Browse files Browse the repository at this point in the history
  • Loading branch information
feelform committed Sep 12, 2023
1 parent 2895e29 commit dd88f6c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/context/span-event-recorder.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,8 @@ class SpanEventRecorder {
this.spanEvent.startTime = startTime
}

recordServiceType(code, ...properties) {
recordServiceType(code) {
if (this.spanEvent && code) {
// this.spanEvent.serviceType = new ServiceType(code, properties)
this.spanEvent.serviceType = code
}
}
Expand Down

0 comments on commit dd88f6c

Please sign in to comment.