11 lines · 614 B · TypeScript
RawDownload
// ---------------------------------------------------------------------------// Self-host `ErrorCapture` — the shared console implementation with a// `selfhost-` trace id prefix. Prints the squashed + pretty cause to stderr// and returns a short correlation id that surfaces in the opaque 500 traceId,// so operators can grep their logs. Cloud swaps in a Sentry-backed impl behind// the same tag.// --------------------------------------------------------------------------- import { consoleErrorCapture } from "@executor-js/api/server"; export const ErrorCaptureLive = consoleErrorCapture("selfhost");

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t