2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-13 10:35:40 +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

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