Today, we got an alarm because the trigger function error'ed when an incorrectly named `.yml` file was used. ``` 2017-11-02T18:36:28.441Z bc7ecdd9-bffc-11e7-aba8-f192b47c1978 { "errorMessage": "ENOENT: no such file or directory, open '/var/task/buildspecs/node4.3.yml'", "errorType": "Error", "stackTrace": [ "Error (native)", "Object.fs.openSync (fs.js:641:18)", "Object.fs.readFileSync (fs.js:509:33)", "getDefaultBuildspec (/var/task/lambda.js:318:13)", "githubToken.then.then.then.then (/var/task/lambda.js:396:33)", "process._tickDomainCallback (internal/process/next_tick.js:135:7)" ] } ``` We should modify the trigger function so that it handles errors such as spelling errors in a different way. cc/ @mapbox/platform
Today, we got an alarm because the trigger function error'ed when an incorrectly named
.ymlfile was used.We should modify the trigger function so that it handles errors such as spelling errors in a different way.
cc/ @mapbox/platform