mirror of
https://github.com/evennia/evennia.git
synced 2026-03-31 13:07:16 +02:00
Make plugin module error clearer
This commit is contained in:
parent
dc6ac210f4
commit
bdeec15198
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