Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve error message for streaming on old host version #226

Merged
merged 1 commit into from
Feb 27, 2024

Conversation

ejizba
Copy link
Contributor

@ejizba ejizba commented Feb 27, 2024

Users need v4.28 or higher for stream support. I updated the error message they see if they're on an older version.

Before:

Worker was unable to load entry point "dist/src/index.js": coreApi.log is not a function

After:

Worker was unable to load entry point "dist/src/index.js": HTTP streaming requires Azure Functions Host v4.28 or higher.

@ejizba ejizba requested a review from castrodd February 27, 2024 00:01
@ejizba ejizba merged commit 344e4d5 into v4.x Feb 27, 2024
11 checks passed
@ejizba ejizba deleted the ej/streamHostVersion branch February 27, 2024 19:28
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.

2 participants