Add logging & save exception msg in failure