Closed mathieucarbou closed 7 years ago
@bryanmikaelian : yes it's chatty, and I think this is what you want when in debug mode: this is the only way I have as a user of this plugin to make sure Librato receives the response and processes it and then to see its answer.
Hence the (if(logAll)
)
Cool. Makes sense. I'll see if anyone else on the team has any thoughts and then we can merge / release.
If we are logging the request, seems like logging all responses is equally verbose. 👍
👍
Thanks for the contribution @mathieucarbou! I'll get this merged and published to npm today.
Because some other errors might happen than the one handled (stoplist). Example, if the tag values have an invalid format, the response is something like:
So it would be nice to log the whole response in debug mode to avoid discarding important failures.