Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

Commit

Permalink
fix: wrong parameter handling
Browse files Browse the repository at this point in the history
  • Loading branch information
adrysn committed Jul 2, 2020
1 parent 46f7e19 commit 70f8bb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ai/backend/common/plugin/hook.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ async def notify(
"""
for plugin_name, hook_handler in self._get_handlers(event_name):
try:
await hook_handler(args)
await hook_handler(*args)
except Exception:
log.exception('HookPluginContext.notify({}): skipping error in hook handler from {}',
event_name, plugin_name)
Expand Down

0 comments on commit 70f8bb9

Please sign in to comment.