Skip to content

enhance(logging): improve feature flags configuration save error message#893

Open
arushiiii18 wants to merge 1 commit into
pyupio:mainfrom
arushiiii18:improve/flags-config-error-message
Open

enhance(logging): improve feature flags configuration save error message#893
arushiiii18 wants to merge 1 commit into
pyupio:mainfrom
arushiiii18:improve/flags-config-error-message

Conversation

@arushiiii18

Copy link
Copy Markdown

Description

Improves the error message emitted when saving feature flag configuration fails.

Previously the log message only reported:

Unable to save flags configuration.

This change adds:

  • the path of the configuration file that failed to save
  • clarification that Safety will continue using existing or default flag values until restart
  • additional context to help users understand the impact of the failure

Related to #577.

Type of Change

  • Bug fix
  • New feature
  • Documentation update
  • Refactor
  • Other (logging/error message improvement)

Testing

  • No tests required

This change only modifies the log message text and does not affect application behavior.

Checklist

  • My code follows the project's style guidelines.
  • I have reviewed my changes.
  • I have tested the change locally where applicable.

@coderabbitai

coderabbitai Bot commented Jul 9, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 332913d6-e1b8-4a1c-81ec-ba212d95435a

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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