Fuck it these messages are confusing people and we don't need them

This commit is contained in:
Alexandre Aubin 2020-09-08 01:18:43 +02:00
parent 9640b22a23
commit a6bbe41705

View file

@ -196,8 +196,7 @@ def hook_list(action, list_by='name', show_info=False):
else:
_append_folder(result, HOOK_FOLDER)
except OSError:
logger.debug("No default hook for action '%s' in %s",
action, HOOK_FOLDER)
pass
try:
# Append custom hooks
@ -207,8 +206,7 @@ def hook_list(action, list_by='name', show_info=False):
else:
_append_folder(result, CUSTOM_HOOK_FOLDER)
except OSError:
logger.debug("No custom hook for action '%s' in %s",
action, CUSTOM_HOOK_FOLDER)
pass
return {'hooks': result}