Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
core/utils/logger: Log FetchError's status (#2024)
The standard serializer of Bunyan, our logging library, strips out most attributes of logged errors which means we can miss some important information when those include non standard attributes. For example, the `status` attribute of `FetchError`s are stripped out so we can't know the returned status of failed requests. As we've done for other attributes, we add it back to the logged object.
- Loading branch information