Catching Silent HTTP 200 Failures by Customer in Production
Unhandled 500s page you in seconds. Silent failures behind HTTP 200s (swallowed 401 webhooks, zero-row syncs, stale deploy skew) rot for weeks until a customer churns.
0 crashes
Thrown by swallowed try/catch bugs
Per-tenant
Automatic blast-radius ranking
Cited lines
Every alert shows exact log proof
Key takeaway
HTTP status codes measure transport delivery, not customer outcomes. Tagging logs with tenant_id and letting Libra Logs monitor per-customer outcomes catches silent regressions days before support tickets arrive.
Four production bugs that return HTTP 200 and zero Sentry alerts
Defensive try/catch blocks keep servers up, but hide broken customer workflows from 5xx dashboards and crash trackers.
- Swallowed OAuth 401s: A sync worker catches an expired Google or Slack token, logs a warning, writes { synced: 0 }, and exits cleanly.
- Rejected inbound webhooks: Rotated Stripe or GitHub secrets trigger 401 responses that never trip 5xx ALB alarms while billing state freezes.
- Empty AI / RAG completions: An upstream LLM 429 fallback returns an empty answer with HTTP 200, leaving paying users staring at blank output.
- Partial batch drops: A per-record catch inside a loop drops 40% of rows while marking the parent job completed.
Stamp customer identity once in Node AsyncLocalStorage
Attach tenant_id and user_id once in auth middleware so every downstream log line and OTLP span inherits customer context automatically.
import { AsyncLocalStorage } from "node:async_hooks";
export interface TenantContext {
requestId: string;
tenantId: string;
userId?: string;
}
export const tenantStore = new AsyncLocalStorage<TenantContext>();
export function logOutcome(event: string, fields: Record<string, unknown> = {}) {
const ctx = tenantStore.getStore();
console.log(JSON.stringify({
event,
tenant_id: ctx?.tenantId ?? "anonymous",
user_id: ctx?.userId,
request_id: ctx?.requestId,
...fields,
}));
}How Libra Logs turns noisy logs into a ranked customer impact list
Instead of forcing you to grep timestamps, Libra groups failures by tenant, distinguishes active paying accounts from background cron noise, and sends evidence-backed Slack alerts on the $150/mo Team plan (with $20/mo self-serve entry for 1-2 person teams).
Simple pricing · 30-day free trial
Stop paying per indexed log event. Group bugs by customer instead.
$20/mo
1-2 employees · up to 25 GB
$150/mo
3-9 employees · up to 100 GB + Slack alerts
10+ staff
We beat your Datadog/Sentry bill