telerik / mobile-cli-lib

Contains common infrastructure for CLIs - mainly AppBuilder, NativeScript, DDB and Proton.
Apache License 2.0
11 stars 10 forks source link

Fix the error handling in hooks execution #997

Closed TsvetanMilanov closed 7 years ago

TsvetanMilanov commented 7 years ago

Some hooks can reject their promises without error. We need to check if we have an error before we try to get some information from it.