Strip response from HTTP error passed to log.exception()
#282
Labels
t-tooling
Issues with this label are in the ownership of the tooling team.
log.exception()
#282
For example, if we catch and
log.exception(err, ...)
an error thrown by https://github.com/axios/axios, it contains a largeerror.response
object with many circular dependencies. We should strip the whole object or better pick just certain fields (status, body, ...).The text was updated successfully, but these errors were encountered: