Mpuncel/log error message

@anthonybishopric @petertseng