Skip to content

fix(node): never drop the crash event for hostile thrown values (TT-022, #724) - #808

Merged
unjica merged 2 commits into
developfrom
fix/724-sdk-hostile-errors
Oct 16, 2026
Merged

unjica merged 2 commits into
developfrom
fix/724-sdk-hostile-errors

Conversation

@unjica

@unjica unjica commented Oct 16, 2026 •

Copy link
Copy Markdown
Collaborator

The fatal handler now copies message/stack/name into a plain Error before ingest, so ingest never touches user getters or Proxy traps. If inspecting the value throws, it sends an UninspectableError fallback event instead of nothing. Exit code stays 1. Four tests added (message getter, stack getter, Proxy getPrototypeOf trap, normal error).

Bumps @telemetry-tracker/node to 1.4.1. Not published to npm — needs the maintainer's OTP (pnpm publish:packages -- --only=node --otp=…).

Refs #724 (keep open until 1.4.1 is published).

@unjica
unjica merged commit 87cd90a into develop Oct 16, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant