Skip to content

Commit

Permalink
chore: proper error log format
Browse files Browse the repository at this point in the history
  • Loading branch information
denolfe committed Feb 28, 2024
1 parent 75113e9 commit f88a3df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/onInitExtension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ export const onInitExtension = (pluginOptions: PluginTypes, payload: Payload): v
// You can use the existing express app here to add middleware, routes, etc.
// app.use(...)
} catch (err: unknown) {
payload.logger.error(err)
payload.logger.error({ msg: 'Error in onInitExtension', err })
}
}

0 comments on commit f88a3df

Please sign in to comment.