Open
Description
When there is an error with sending a POST/GET requests the tracker returns a status code of -1. This makes debugging harder when using containers without inspecting the logs.
The return of the status is done in:
snowplow-golang-tracker/tracker/emitter.go
Line 357 in 50e2f03
Which defaults to -1 when the status code is not OK 200, instead of the real value.
For comparison the Python tracker returns the status code with the warning message:
https://github.com/snowplow/snowplow-python-tracker/blob/91da00a0549f05169b179c819028409d3d3f7401/snowplow_tracker/emitters.py#L195
Metadata
Metadata
Assignees
Labels
No labels