We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad73ca2 commit 9a25ff8Copy full SHA for 9a25ff8
1 file changed
packages/dd-trace/src/plugins/tracing.js
@@ -12,7 +12,9 @@ class TracingPlugin extends Plugin {
12
this.operation = this.constructor.operation
13
14
this.addTraceSub('start', message => {
15
- message.parentStore = storage.getStore()
+ if (message && typeof message === 'object') {
16
+ message.parentStore = storage.getStore()
17
+ }
18
this.start(message)
19
})
20
0 commit comments