~/talk

The Arcane Art of Error Handling

Talkat RailsConf 2017 · 2017-04-25..04-27· [ruby-on-rails, observability]
slides:none on file

A pragmatic set of patterns for large Rails apps that actually shipped at Procore and scaled to a two million line codebase with ~90–100 engineers and 4–5 deploys a day involves building an ErrorHandler class, custom exception hierarchies, and metadata and severity for Bugsnag to filter noise and route alerts, using user_message instead of Exception#message for i18n, wrapping third party timeouts to preserve causes, three behaviors of errors fail fast, rescue and continue, or rescue and translate to status codes, and adding ids for log correlation

AI-written summary · about

  1. 0:00Start
  2. 2:47Caution!
  3. 4:14Error vs. Exception
  4. 15:41Deep Call Stacks
  5. 18:09A Custom Error Hierarchy
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.