Skip to content

Commit

Permalink
Note the env var in the the warning message
Browse files Browse the repository at this point in the history
  • Loading branch information
cottsay committed May 22, 2024
1 parent 6566fa5 commit c58ea45
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions colcon_core/feature_flags.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,10 @@ def is_feature_flag_set(flag):
if flag not in _REPORTED_USES:
if not _REPORTED_USES:
logger.warning(
'One or more feature flags have been enabled. '
'These features may be unstable and may change API or '
'behavior at any time.')
'One or more feature flags have been enabled using the '
f'{FEATURE_FLAGS_ENVIRONMENT_VARIABLE.name} environment '
'variable. These features may be unstable and may change '
'API or behavior at any time.')
logger.warning(f'Enabling feature: {flag}')
_REPORTED_USES.add(flag)
return True
Expand Down

0 comments on commit c58ea45

Please # to comment.