aws / aws-xray-sdk-node

The official AWS X-Ray SDK for Node.js.
Apache License 2.0
267 stars 156 forks source link

Add support for specifying fault flag when adding error #593

Open icholy opened 1 year ago

icholy commented 1 year ago

Issue https://github.com/aws/aws-xray-sdk-node/issues/61

Description of changes:

This change enables setting an error without setting the fault flag.

Example:

segment.addError(err, false, false);