logs errors returned by a service, this is intended to be used within Her client gems as a replacement for the standard JSON parser