diff --git a/rhodecode/config/middleware.py b/rhodecode/config/middleware.py --- a/rhodecode/config/middleware.py +++ b/rhodecode/config/middleware.py @@ -578,5 +578,8 @@ def _substitute_values(mapping, substitu raise ValueError( 'Failed to substitute env variable: {}. ' 'Make sure you have specified this env variable without ENV_ prefix'.format(e)) + except ValueError as e: + log.warning('Failed to substitute ENV variable: %s', e) + result = mapping return result