Merge pull request #128 from buren/Exception_fixes

fixed validation of user input in formatter
Merge branch 'master' of github.com:buren/enduro into Exception_fixes