Skip to content

Conversation

@prmukherj
Copy link
Collaborator

Context

The exception message was not clear. The message was slightly inaccurate, as it suggested that beta features can only be enabled via a Python call.

Change Summary

The exception message was updated to be more precise about the need of the python call.

Impact

Users will see the updated error message when 'BetaFeaturesNotEnabled' is raised.

@prmukherj prmukherj requested a review from mkundu1 as a code owner November 4, 2025 07:45
Copilot AI review requested due to automatic review settings November 4, 2025 07:45
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Updates the error message for the BetaFeaturesNotEnabled exception to clarify that beta features can be enabled via a Python call to <session>.enable_beta_features(), making it more precise about the enablement method.

  • Refactored the exception message construction to use a shared base_message variable
  • Updated message wording to specify the Python method call syntax with <session> placeholder

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions github-actions bot added the enhancement Improve any current implemented feature label Nov 4, 2025
Copilot AI review requested due to automatic review settings November 4, 2025 13:38
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@prmukherj prmukherj merged commit 59a2c5f into main Nov 6, 2025
59 of 61 checks passed
@prmukherj prmukherj deleted the maint/update_text_for_beta_feture_error branch November 6, 2025 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Improve any current implemented feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants