aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/core-utils/plugins/hooks.ts
diff options
context:
space:
mode:
Diffstat (limited to 'shared/core-utils/plugins/hooks.ts')
-rw-r--r--shared/core-utils/plugins/hooks.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/core-utils/plugins/hooks.ts b/shared/core-utils/plugins/hooks.ts
index 3d59a7428..5405e0529 100644
--- a/shared/core-utils/plugins/hooks.ts
+++ b/shared/core-utils/plugins/hooks.ts
@@ -29,7 +29,7 @@ async function internalRunHook <T> (handler: Function, hookType: HookType, resul
29 } 29 }
30 30
31 if (hookType === HookType.ACTION) { 31 if (hookType === HookType.ACTION) {
32 if (isCatchable(p)) p.catch(err => onError(err)) 32 if (isCatchable(p)) p.catch((err: any) => onError(err))
33 33
34 return undefined 34 return undefined
35 } 35 }