PLGAJS-86: better exception handling
PLGAJS-85 : Handle more project type than just AngularJS