fix error object reference in try/catch block
Merge pull request #550 from strongloop/fix/build-error-gulp-help-files

fix error object reference in try/catch block