2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-04-28 03:26:45 +00:00

Reduce severity of error message (#9209)

- Currently flooding sentry.io with reports
This commit is contained in:
Oliver 2025-03-01 16:12:01 +11:00 committed by GitHub
parent 3ff507837d
commit 8404e2232f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -95,7 +95,7 @@ def registration_enabled():
if settings.EMAIL_HOST:
return True
else:
logger.error(
logger.warning(
'Registration cannot be enabled, because EMAIL_HOST is not configured.'
)
return False