Describe the bug
SegmentError and SegmentTraitError exit the code without clearing segment trait dictionaries. This leads to improper request dictionaries built on the next request.
To Reproduce
Make a request that will encounter SegmentTraitError or SegmentError. Make another request incompatible with those traits.
Expected behavior
These requests should be independent of one another if at all possible
Describe the bug SegmentError and SegmentTraitError exit the code without clearing segment trait dictionaries. This leads to improper request dictionaries built on the next request.
To Reproduce Make a request that will encounter SegmentTraitError or SegmentError. Make another request incompatible with those traits.
Expected behavior These requests should be independent of one another if at all possible
Console Output N/A
Environment Information:
Additional context N/A