Skip to content

Commit

Permalink
Merge pull request #815 from iamemilio/error_expected_bug
Browse files Browse the repository at this point in the history
Error Expected Bug
  • Loading branch information
iamemilio authored Nov 10, 2023
2 parents a1142ca + 1f34e2c commit 91a21cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion v3/newrelic/error_events.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func (e *errorEvent) WriteJSON(buf *bytes.Buffer) {
w.stringField("spanId", e.SpanID)
}
if e.Expect {
w.stringField("error.expected", "true")
w.boolField(expectErrorAttr, true)
}

sharedTransactionIntrinsics(&e.txnEvent, &w)
Expand Down

0 comments on commit 91a21cb

Please sign in to comment.