@neat.is/core 0.3.5 → 0.3.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-KCEZSFU2.js → chunk-YHQYHFI3.js} +2 -2
- package/dist/{chunk-BUB3ASD5.js → chunk-ZU2RQRCN.js} +3 -3
- package/dist/chunk-ZU2RQRCN.js.map +1 -0
- package/dist/cli.cjs +341 -61
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +339 -60
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/neatd.cjs +83 -2
- package/dist/neatd.cjs.map +1 -1
- package/dist/neatd.js +82 -2
- package/dist/neatd.js.map +1 -1
- package/dist/server.cjs +1 -1
- package/dist/server.cjs.map +1 -1
- package/dist/server.js +1 -1
- package/package.json +2 -2
- package/dist/chunk-BUB3ASD5.js.map +0 -1
- /package/dist/{chunk-KCEZSFU2.js.map → chunk-YHQYHFI3.js.map} +0 -0
package/dist/index.cjs
CHANGED
|
@@ -1652,7 +1652,7 @@ function buildErrorEventForReceiver(span) {
|
|
|
1652
1652
|
service: span.service,
|
|
1653
1653
|
traceId: span.traceId,
|
|
1654
1654
|
spanId: span.spanId,
|
|
1655
|
-
errorMessage: span.exception?.message ??
|
|
1655
|
+
errorMessage: span.exception?.message ?? "unknown error",
|
|
1656
1656
|
...span.exception?.type ? { exceptionType: span.exception.type } : {},
|
|
1657
1657
|
...span.exception?.stacktrace ? { exceptionStacktrace: span.exception.stacktrace } : {},
|
|
1658
1658
|
...Object.keys(attrs).length > 0 ? { attributes: attrs } : {},
|
|
@@ -1744,7 +1744,7 @@ async function handleSpan(ctx, span) {
|
|
|
1744
1744
|
service: span.service,
|
|
1745
1745
|
traceId: span.traceId,
|
|
1746
1746
|
spanId: span.spanId,
|
|
1747
|
-
errorMessage: span.exception?.message ??
|
|
1747
|
+
errorMessage: span.exception?.message ?? "unknown error",
|
|
1748
1748
|
...span.exception?.type ? { exceptionType: span.exception.type } : {},
|
|
1749
1749
|
...span.exception?.stacktrace ? { exceptionStacktrace: span.exception.stacktrace } : {},
|
|
1750
1750
|
...Object.keys(attrs).length > 0 ? { attributes: attrs } : {},
|