fix #62;fill statusPhase if both exception.message and errorCode is null
#62;log error while sending error to client