Commit error handler