Added error handling
2.0.0
Merge branch 'master' of github.com:KoryNunn/wait-for