We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc3b699 commit 070ced0Copy full SHA for 070ced0
packages/opencode/src/plugin/index.ts
@@ -61,14 +61,10 @@ export namespace Plugin {
61
for (const hook of await state().then((x) => x.hooks)) {
62
const fn = hook[name]
63
if (!fn) continue
64
- try {
65
- // @ts-expect-error if you feel adventurous, please fix the typing, make sure to bump the try-counter if you
66
- // give up.
67
- // try-counter: 2
68
- await fn(input, output)
69
- } catch (e) {
70
- log.error("failed to trigger hook", { name, error: e })
71
- }
+ // @ts-expect-error if you feel adventurous, please fix the typing, make sure to bump the try-counter if you
+ // give up.
+ // try-counter: 2
+ await fn(input, output)
72
}
73
return output
74
0 commit comments