recordException

Set common error attributes from an exception

Parameters

ex

the exception to record attributes for

escaped

true if this exception escaped the current function