← All platforms

Deno error tracking

Deno asks permission before reaching out. Give the Sentry SDK a route to Telebugs and keep your application’s error reports on your own server.

~/hoofnotes  deno add npm:@sentry/deno
~/hoofnotes  nvim main.ts
import * as Sentry from "@sentry/deno";
Sentry.init({
// Copy the complete Telebugs DSN, key and path included.
dsn: "YOUR_TELEBUGS_DSN",
});
await import("./hoofnotes/server.ts");
~/hoofnotes  deno run --allow-net=localhost,telebugs.example.com main.ts

Space pauses or resumes. R replays. Escape shows the complete setup.

Hang on, I already use Sentry

Keep @sentry/deno and change its destination to your Telebugs DSN. Your error reports stay on your server. You don’t need a Sentry account.

Does it need network permission?

Yes. The SDK needs permission to send reports to your Telebugs hostname. Your application may need other permissions of its own; error tracking doesn’t bypass Deno’s permission model.

Can I keep writing TypeScript?

Of course. Telebugs accepts the SDK’s error reports. For transformed code, matching source maps can bring the backtrace back to your original files.