Skip to content

Commit 062f9bb

Browse files
fix(security): avoid tainted feature flag log format (#3848)
Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>
1 parent 4da9a7c commit 062f9bb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎apps/web/src/lib/posthog-feature-flags.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ export async function isReleaseToggleEnabled(
103103
);
104104
return flagValue === true;
105105
} catch (error) {
106-
console.error(`Error checking boolean feature flag '${flagName}':`, error);
106+
console.error('Error checking boolean feature flag:', flagName, error);
107107
captureException(error, {
108108
tags: { source: 'posthog_feature_flag_boolean_enabled' },
109109
extra: { flagName, distinctId },

0 commit comments

Comments
 (0)