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 b59bd47 commit c24bc06Copy full SHA for c24bc06
1 file changed
src/modules/mx-space/event-handler.ts
@@ -1,3 +1,4 @@
1
+import { inspect } from 'util'
2
import { appConfig } from 'app.config'
3
import dayjs from 'dayjs'
4
import { default as RemoveMarkdown, default as rmd } from 'remove-markdown'
@@ -32,7 +33,7 @@ const logger = createNamespaceLogger('mx-event')
32
33
34
export const handleEvent =
35
(ctx: ModuleContext) => async (type: BusinessEvents, payload: any) => {
- logger.debug(type, payload)
36
+ logger.log(type, inspect(payload))
37
38
const aggregateData = await getMxSpaceAggregateData()
39
const owner = aggregateData.user
0 commit comments