Exemplo n.º 1
0
 public void CaptureException(Exception exception, string culprit = null, bool isHandled = false, string parentId = null)
 => ExecutionSegmentCommon.CaptureException(
     exception,
     _logger,
     _payloadSender,
     this,
     _enclosingTransaction,
     culprit,
     isHandled,
     parentId
     );
Exemplo n.º 2
0
 public void CaptureException(Exception exception, string culprit = null, bool isHandled = false, string parentId = null)
 => ExecutionSegmentCommon.CaptureException(
     exception,
     _logger,
     _sender,
     this,
     this,
     culprit,
     isHandled,
     parentId
     );
Exemplo n.º 3
0
 public void CaptureException(Exception exception, string culprit = null, bool isHandled = false, string parentId = null)
 => ExecutionSegmentCommon.CaptureException(
     exception,
     _logger,
     _payloadSender,
     this,
     ConfigSnapshot,
     _enclosingTransaction,
     culprit,
     isHandled,
     parentId ?? (ShouldBeSentToApmServer ? null : _enclosingTransaction.Id)
     );