Currently when there is an api error the logger logs and error, but the stack trace is included only in a following debug log.
This is true to all api clients, including segments, splits, events, impressions, telemetry
for example:
What is the reason for this?
And is it possible to turn this into one error message with the stack trace included?