We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75113e9 commit f88a3dfCopy full SHA for f88a3df
src/onInitExtension.ts
@@ -11,6 +11,6 @@ export const onInitExtension = (pluginOptions: PluginTypes, payload: Payload): v
11
// You can use the existing express app here to add middleware, routes, etc.
12
// app.use(...)
13
} catch (err: unknown) {
14
- payload.logger.error(err)
+ payload.logger.error({ msg: 'Error in onInitExtension', err })
15
}
16
0 commit comments