AGENTS.md: rescued errors report to Sentry at the minimum
Assisted-by: GLM-5.3 via pi
change lttmtokspwssnnsuqpztxtntqumslzxm
commit c91037ec35a243c648470b4f83bf6f74b29b2953
author Alpha Chen <alpha@kejadlen.dev>
date
parent xyukntqv
diff --git a/AGENTS.md b/AGENTS.md
index 5f1a7e3..480bc57 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -95,7 +95,10 @@ not a fixture; edit a `.vcf` to change what the replay serves.
   ordinary, anticipated case with a real fallback to show (e.g. a birthday
   whose stored value is well-shaped but calendar-nonsense — see
   `Admin::Format.birthday`), never "this might fail, better catch
-  it."
+  it." And never swallow one silently: whatever a rescue catches still
+  goes to Sentry — `Sentry.capture_exception` at the minimum — so the
+  fallback is what the screen shows, never a reason the error goes
+  unreported.
 - `config.ru` must stay ASCII-only; a test enforces it, because boot crashes
   under a C locale otherwise. Watch for em dashes in comments.
 - `RUBYOPT=--enable-frozen-string-literal` is set in `.ramekin/config.kdl`.