updated exception logging api.
will not be sending the authorization header for now.