Skip to content

Commit 6a2e446

Browse files
authored
fix: Updated warning type to user (#648)
1 parent 76e9dc3 commit 6a2e446

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

node/packages/sdk/lib/trace-span.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ class TraceSpan {
137137
const message =
138138
"Serverless SDK Warning: Following trace spans didn't end before end of " +
139139
`lambda invocation: ${leftoverSpans.map(({ name }) => name).join(', ')}\n`;
140-
this._reportWarning(message, 'SDK_SPAN_NOT_CLOSED');
140+
this._reportWarning(message, 'SDK_SPAN_NOT_CLOSED', { type: 'USER' });
141141
}
142142
asyncLocalStorage.enterWith(this);
143143
} else {

0 commit comments

Comments
 (0)