fix: log ENV key as it needs to be set (#10462)

This commit is contained in:
Matthias Mair 2025-10-04 00:34:44 +02:00 committed by GitHub
parent fa1dbb59c1
commit ed74c61e5c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 1 deletions

View File

@ -646,7 +646,9 @@ db_config = {key.upper(): value for key, value in db_config.items()}
for key in required_keys:
if key not in db_config: # pragma: no cover
error_msg = f'Missing required database configuration value {key}'
error_msg = (
f'Missing required database configuration value `INVENTREE_DB_{key}`'
)
logger.error(error_msg)
print('Error: ' + error_msg)