added exception message when there are no events to register

This commit is contained in:
iLLiCiTiT 2019-11-15 16:08:06 +01:00
parent daee320863
commit 2c3ebb0c13

View file

@ -100,7 +100,10 @@ class FtrackServer:
log.warning(msg, exc_info=e)
if len(register_functions_dict) < 1:
raise Exception
raise Exception((
"There are no events with register function."
" Registered paths: \"{}\""
).format("| ".join(paths)))
# Load presets for setting plugins
key = "user"