commit success/fail message