mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Try to make those debug messages sound less like an error
This commit is contained in:
parent
e273195504
commit
b8ce8e9392
1 changed files with 2 additions and 2 deletions
|
@ -196,7 +196,7 @@ def hook_list(action, list_by='name', show_info=False):
|
||||||
else:
|
else:
|
||||||
_append_folder(result, HOOK_FOLDER)
|
_append_folder(result, HOOK_FOLDER)
|
||||||
except OSError:
|
except OSError:
|
||||||
logger.debug("system hook folder not found for action '%s' in %s",
|
logger.debug("No default hook for action '%s' in %s",
|
||||||
action, HOOK_FOLDER)
|
action, HOOK_FOLDER)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
@ -207,7 +207,7 @@ def hook_list(action, list_by='name', show_info=False):
|
||||||
else:
|
else:
|
||||||
_append_folder(result, CUSTOM_HOOK_FOLDER)
|
_append_folder(result, CUSTOM_HOOK_FOLDER)
|
||||||
except OSError:
|
except OSError:
|
||||||
logger.debug("custom hook folder not found for action '%s' in %s",
|
logger.debug("No custom hook for action '%s' in %s",
|
||||||
action, CUSTOM_HOOK_FOLDER)
|
action, CUSTOM_HOOK_FOLDER)
|
||||||
|
|
||||||
return {'hooks': result}
|
return {'hooks': result}
|
||||||
|
|
Loading…
Add table
Reference in a new issue