mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-28 11:36:44 +00:00
Reduce severity of error message (#9209)
- Currently flooding sentry.io with reports
This commit is contained in:
parent
3ff507837d
commit
8404e2232f
@ -95,7 +95,7 @@ def registration_enabled():
|
|||||||
if settings.EMAIL_HOST:
|
if settings.EMAIL_HOST:
|
||||||
return True
|
return True
|
||||||
else:
|
else:
|
||||||
logger.error(
|
logger.warning(
|
||||||
'Registration cannot be enabled, because EMAIL_HOST is not configured.'
|
'Registration cannot be enabled, because EMAIL_HOST is not configured.'
|
||||||
)
|
)
|
||||||
return False
|
return False
|
||||||
|
Loading…
x
Reference in New Issue
Block a user