Remove console logging
Add transitions for generic onError and state's onFailure to graphs.