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

Add additional context and logging when a grain constructor throws #9399

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ReubenBond
Copy link
Member

@ReubenBond ReubenBond commented Mar 21, 2025

This PR adds clearer error logs & exceptions when a grain class cannot be constructed.
It also adds a specific, more informative, exception for the case where a grain constructor parameter has a [PersistentState(...)] attribute but the parameter type is not IPersistentState<T>.

Microsoft Reviewers: Open in CodeFlow

@ReubenBond ReubenBond force-pushed the fix/facet-error-message branch from 95a49ab to 292b440 Compare March 21, 2025 20:03
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.

1 participant