refactor(err): resolve err instead of app when creating app and some error occurred
Merge branch 'hotfix/proper-throw-err-fix' (note typo fix trow -> throw)