Skip to content

Conversation

@ejizba
Copy link
Contributor

@ejizba ejizba commented Sep 28, 2022

Fixes #630

Most of the apps we saw with an error had "main" set to index.js but that file didn't exist. We don't don't want to break those existing users, so we will convert the error to a warning. However, we still want to throw an error in the new programming model (which obviously doesn't have any existing users) - so we will use the existence of "function.json" files to determine which model is being used and act accordingly. EDIT: Changed our mind on this.

@ejizba ejizba changed the title Treat failure to load entry point as warning instead of error Handle entrypoint load failures based on the programming model being used Sep 28, 2022
@ejizba
Copy link
Contributor Author

ejizba commented Oct 3, 2022

Changing back so that all errors are treated as warnings for the entry point scenario. It's simpler and much less risky - discussed in further detail offline.

@ejizba ejizba changed the title Handle entrypoint load failures based on the programming model being used Treat failure to load entry point as warning instead of error Oct 4, 2022
@ejizba ejizba merged commit abf81b9 into v3.x Oct 4, 2022
@ejizba ejizba deleted the ej/fix branch October 4, 2022 00:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Worker was unable to load entry point

5 participants