mirror of
https://github.com/evennia/evennia.git
synced 2026-03-23 00:06:30 +01:00
Make plugin module error clearer
This commit is contained in:
parent
79717f6963
commit
f7089cdfa5
1 changed files with 4 additions and 1 deletions
|
|
@ -599,7 +599,10 @@ if ENABLED:
|
|||
|
||||
for plugin_module in SERVER_SERVICES_PLUGIN_MODULES:
|
||||
# external plugin protocols
|
||||
plugin_module.start_plugin_services(EVENNIA)
|
||||
try:
|
||||
plugin_module.start_plugin_services(EVENNIA)
|
||||
except AttributeError as err:
|
||||
raise AttributeError(f"Error loading plugin module {plugin_module}: {err}")
|
||||
|
||||
# clear server startup mode
|
||||
ServerConfig.objects.conf("server_starting_mode", delete=True)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue