log entire error