Add fail on missing flag.

Push state error if localization is missing.
Merge pull request #4 from zxcabs/failed_on

Add fail on missing flag.