Add reason logging on failed deploy