Open eh-am opened 1 year ago
Another symptom of the same issue: We got our token wrong, but we had no idea at first. No errors or warnings on STDOUT. Finally after turning on debug logging, we found pyroscope { status: 'error', error: 'authentication error: invalid token' }
. Errors like this should not be swallowed in DEBUG logs.
When first starting the
And error was thrown:
But I was calling
init
, which is confusing.By setting the
DEBUG
environment variable, the error message is shown:Therefore we should just log that message to stdout/err instead of hiding behind an env var.