Skip to content

fix: guard YieldOptimizer against null or undefined intake dispatches#188

Open
Pratikshya32 wants to merge 1 commit into
Shruti070107:mainfrom
Pratikshya32:fix/yield-opt-empty-safety
Open

fix: guard YieldOptimizer against null or undefined intake dispatches#188
Pratikshya32 wants to merge 1 commit into
Shruti070107:mainfrom
Pratikshya32:fix/yield-opt-empty-safety

Conversation

@Pratikshya32

Copy link
Copy Markdown

Fixes #187

Changes

  • Filtered out null or undefined elements from recentIntakes array in YieldOptimizer to prevent runtime crashes.

@Pratikshya32

Copy link
Copy Markdown
Author

@Shruti070107 Hello! I have opened this pull request to resolve the issue. Please review and merge it when you get a chance. Thank you!

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.

[Bug]: YieldOptimizer throws errors when intake list contains null dispatches

1 participant