use store#recordWasError hook
Merge pull request #939 from tchak/became-error

use store#recordWasError hook