Better error reporting logic.

Error status wasn't correctly transmitted to UI after recent changes.

(0) -100 -30 -10 -2 +2 +10 +30 tip

mercurial