Fixed error reporting in UI.

Tasks were always successful because rollback had been always ok.