Closed javorszky closed 1 year ago
If unmarshaling from json fails, it's probably because whatever is in msg.Data
is not a json, and it would be super useful to know what was in there that caused the json unmarshaler to fail.
I think that fmt.Println was a remnant of a debug session I was doing and I forgot to take it out. With this changeset it is no longer there.
I'm still a bit torn (at least we should elide the authorization header), but this PR is strictly better than the status quo, so let's roll with it
No issue
Found the place where the logging of the entire request happened which included tokens and request body and removed it.