Skip to content

Commit

Permalink
fix passing in tx
Browse files Browse the repository at this point in the history
  • Loading branch information
svetlanabrennan committed Oct 9, 2024
1 parent 3b15868 commit 727aa9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/transaction/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@ Transaction.prototype._markAsWeb = function _markAsWeb(rawURL) {
}
}

this.baseSegment.markAsWeb(this.transaction)
this.baseSegment.markAsWeb(this)
}

/**
Expand Down Expand Up @@ -554,7 +554,7 @@ Transaction.prototype.finalizeName = function finalizeName(name) {
this.ignore = this.forceIgnore
}

this.baseSegment && this.baseSegment.setNameFromTransaction()
this.baseSegment && this.baseSegment.setNameFromTransaction(this)

this._copyNameToActiveSpan(this.name)

Expand Down

0 comments on commit 727aa9f

Please sign in to comment.