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 1484c45 commit cda3523Copy full SHA for cda3523
packages/app-backend-api/src/hooks.ts
@@ -57,7 +57,7 @@ export class DevtoolsHookable implements Hookable<BackendContext> {
57
try {
58
await handler(payload, ctx)
59
} catch (e) {
60
- console.error(`An error occurred in hook ${eventType}${plugin ? ` registered by plugin ${plugin.descriptor.id}` : ''}`)
+ console.error(`An error occurred in hook '${eventType}'${plugin ? ` registered by plugin '${plugin.descriptor.id}'` : ''} with payload:`, payload)
61
console.error(e)
62
}
63
0 commit comments