Skip to content

Conversation

erezrokah
Copy link
Contributor

Related to netlify/cli#627 (comment)

netlify-lambda build functions fails silently if there are complication errors

@erezrokah erezrokah added the type: bug code to address defects in shipped code label Jul 13, 2020
@erezrokah erezrokah requested a review from ehmicky July 13, 2020 14:06
@@ -157,6 +157,10 @@ exports.run = function(dir, additionalConfig) {
if (err) {
return reject(err);
}
const errors = stats.compilation.errors || []
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the fix. Other changes are to facilitate the tests

@erezrokah erezrokah merged commit 4f05353 into master Jul 13, 2020
@erezrokah erezrokah deleted the fix/report_webpack_errors branch July 13, 2020 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug code to address defects in shipped code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants