@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.
@@ -15,7 +15,7 @@ import {
15
15
  startPersistLoop,
16
16
  touchLastSeen,
17
17
  writeAtomically
18
- } from "./chunk-BUB3ASD5.js";
18
+ } from "./chunk-ZU2RQRCN.js";
19
19
  import {
20
20
  buildOtelReceiver
21
21
  } from "./chunk-4ASCXBZF.js";
@@ -278,4 +278,4 @@ export {
278
278
  routeSpanToProject,
279
279
  startDaemon
280
280
  };
281
- //# sourceMappingURL=chunk-KCEZSFU2.js.map
281
+ //# sourceMappingURL=chunk-YHQYHFI3.js.map
@@ -1287,7 +1287,7 @@ function buildErrorEventForReceiver(span) {
1287
1287
  service: span.service,
1288
1288
  traceId: span.traceId,
1289
1289
  spanId: span.spanId,
1290
- errorMessage: span.exception?.message ?? span.name ?? "unknown error",
1290
+ errorMessage: span.exception?.message ?? "unknown error",
1291
1291
  ...span.exception?.type ? { exceptionType: span.exception.type } : {},
1292
1292
  ...span.exception?.stacktrace ? { exceptionStacktrace: span.exception.stacktrace } : {},
1293
1293
  ...Object.keys(attrs).length > 0 ? { attributes: attrs } : {},
@@ -1379,7 +1379,7 @@ async function handleSpan(ctx, span) {
1379
1379
  service: span.service,
1380
1380
  traceId: span.traceId,
1381
1381
  spanId: span.spanId,
1382
- errorMessage: span.exception?.message ?? span.name ?? "unknown error",
1382
+ errorMessage: span.exception?.message ?? "unknown error",
1383
1383
  ...span.exception?.type ? { exceptionType: span.exception.type } : {},
1384
1384
  ...span.exception?.stacktrace ? { exceptionStacktrace: span.exception.stacktrace } : {},
1385
1385
  ...Object.keys(attrs).length > 0 ? { attributes: attrs } : {},
@@ -4952,4 +4952,4 @@ export {
4952
4952
  removeProject,
4953
4953
  buildApi
4954
4954
  };
4955
- //# sourceMappingURL=chunk-BUB3ASD5.js.map
4955
+ //# sourceMappingURL=chunk-ZU2RQRCN.js.map