01See what broke

Read the error in your own code.

Browsers report errors in the squeezed file you shipped. Bugroo turns that back into your real files and lines.

  • One issue per causeThe same crash a thousand times is one row, with how often it happened and how many people it hit.
  • Your files, your line numbersUpload your source mapsSource mapA file your build tool writes that links the shipped, squeezed code back to the code you wrote.For example: column 48213 of the bundle is line 48 of CheckoutSummary.tsx. when you build, and every stack trace shows the code you wrote.
  • Marked for youNew the first time, Escalating when it suddenly gets worse, Regressed when a fixed issue comes back.
Stack traceHW-4K2
TypeError

Cannot read properties of undefined (reading 'items')

assets/main.4f2a1c.jsin n at 1:48213
1…const t=Ce(e.cart);return t.primary.items.map(Nt)},[e.cart]);if(0===r.length)return(0,o.jsx)(Ue,{})…
assets/main.4f2a1c.jsin Ce at 1:31877
assets/vendor.91be0d.jsin Ws at 2:110442
assets/vendor.91be0d.jsin Ka at 2:98120
assets/main.4f2a1c.jsin Xe at 1:20544
src/cart/CheckoutSummary.tsxin renderLines at 48:17
46 const lines = useMemo(() => {
47 const grouped = groupByVendor(cart)
48 return grouped.primary.items.map(toLine)
49 }, [cart])
cart
{ id: "c_91f2", lines: 3, vendor: null }
grouped
{ secondary: [3 items] }
src/cart/CheckoutSummary.tsxin CheckoutSummary at 31:10
6 library frames from react-dom

What the browser sends: one long squeezed file.With your source maps: the real file, the line, and the values when it failed.

Search every issueType is:unresolved browser:Safari or plain text. Filter by status, release, owner or any tag.
Merge what belongs togetherTwo issues with the same cause become one, and their history moves with them.
Archive until it gets worsePut a noisy issue away. It comes back on its own if it starts escalating.

02Know why

Everything that led to it, beside the error.

Open an issue and the story is already there, lined up on one timeline. No asking the user to try again.

error

TypeError: Cannot read properties of undefined (reading 'items')

HW-4K218 events7 users
Release
2.16.1
Browser
Chrome 131
Page
/checkout
User
id 48213

Pick a tab. Each one lights up its moments on the timeline below.

BreadcrumbsBreadcrumbsThe trail of small things your app did just before the error, recorded by the SDK.For example: a page change, a click, then a request that failed.: the clicks, page changes and requests just before it broke, in order.

  • 12:04:41.020navigation/products to /cart
  • 12:04:51.208navigation/cart to /checkout
  • 12:04:51.744fetchGET /api/cart 200
  • 12:04:52.019ui.clickbutton.apply-voucher
  • 12:04:52.310fetchPOST /voucher 422
  • 12:04:52.318exceptionTypeError

A traceTraceOne action followed from the browser through your servers, split into timed steps.For example: a click that calls the API, which reads the database. of the click on Apply: which step was slow, and which one failed.

ui.click Apply12 ms
POST /voucher422
db vouchers188 ms
validate270 ms
cache write9 ms
render Summaryerror

A replayReplayA playback of what one user saw and did, rebuilt from the page's changes rather than filmed.For example: the clicks that led to a failed checkout. plays the page back as the user saw it, up to the moment it broke.

Your cartLinen throw, 2$148.00Oak tray$64.00SPRING24Apply
Something went wrongThe page stopped here.
0:410:56
Logs beside the error Your app's own log lines from the same request, shown next to the error they belong to. Planned, not built yet.

03Fix it fast

Ask in plain words. Get a plain answer.

Search by asking a question, and read a short summary of any issue before you open the code. An owner turns Roo AI on; it runs on Cloudflare's model, or on your own key.

Search in plain EnglishRoo AI
New checkout errors in Safari since the last releaseAsk
Turned into a search
is:unresolvedfirstRelease:latestbrowser.name:Safariurl:*checkout*

Unresolved issues first seen in the latest release, from Safari, on checkout pages.

  • TypeError: Cannot read properties of undefined (reading 'items')1.2k7 users/checkoutSafari 18New in 2.16.1
  • SyntaxError: Unexpected token '<' in JSON at position 02114 users/checkoutSafari 18New in 2.16.1
  • FetchError: request to /v2/orders failed, reason: ETIMEDOUT842311 users/ordersChrome 131Escalating
  • ChunkLoadError: Loading chunk 412 failed40396 users/accountFirefox 133Regressed, yours

Sample data. The question becomes an ordinary search, so you can check it and change it.

Issue summaryRoo AI
HW-4K2TypeError in renderLines

What is wrong

Checkout breaks when a cart has no main vendor.

What happened

renderLines in CheckoutSummary.tsx reads grouped.primary.items, but groupByVendor returns no main group when the cart's vendor is empty. It started in release 2.16.1, right after a voucher was applied.

Who it hits

People who apply a voucher at checkout see an error page and cannot pay.

Written from the error, its stack trace, the last breadcrumbs and its tags. When that is not enough to say, the summary says so.

Suspect commitsSuspect commitThe recent code change most likely to have caused an issue, found from the files in its stack trace.For example: the commit that last changed CheckoutSummary.tsx before 2.16.1.

The change that probably caused it, and who made it.

Planned: it needs the GitHub connection.

The right owner

Ownership rules assign an issue by file or page to the person or team who owns that code.

Fixed in the next release

Resolve it in the next release. If it shows up in a later one, it reopens as Regressed.

04Stay calm

Hear about it once, not a thousand times.

Alerts are per problem, not per error. Set a target for how often things should work, and keep private data out from the start.

A burst of errorsSample
1,000errors arrive in one minute
TypeError: Cannot read properties of undefined (reading 'items')1,000errorNewHW-4K2
Your inbox
New issue in harbourline-webSent onceTypeError in renderLines, HW-4K2

One email for the issue. You hear again only if it gets worse or comes back after a fix.

Alert rules choose who hears, and when.

Reliability targetSLO
99.9%of checkouts work, over 30 days
Budget leftBudget leftHow many more failures the target allows before it is missed.For example: 99.9% of 1,000,000 checkouts allows 1,000 to fail.41%
On trackAt risk: under 25% left

You get a warning while there is still budget left, not after the target is missed.

Hide private data
password: "hunter2""[Filtered]"
ip_address: "203.0.113.7"removed

Hidden before anything is stored.How we handle your data

05Also in Bugroo

The rest of the toolkit.

Releases

Which version each issue started in, and which version fixed it.

Performance

Slow pages and slow requests, step by step.

Profiling

Which functions take the time while your code runs.

Scheduled jobs

Hear when a job you run on a timer is late or fails.

Uptime checks

Bugroo visits your site on a schedule and tells you when it is down.

User feedback

What people wrote when something broke, linked to the error.

Mobile and native crashes

Crash reports from apps on phones and computers, made readable.

Your AI assistant

Let the coding assistant you use read your issues and act on them.

Bugroo is coming soon

Be first to know.

One address, no newsletter. We write when Bugroo ships.

We keep your address only to tell you about Bugroo. Unsubscribe any time.