add proc when observer fail
Merge pull request #3 from rafty/ObserverFail

add proc when observer fail