TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: How do you get a grip on phantom errors?

3 pointsby jupiterover 15 years ago
Most of us already had it: you thought all errors in your app have finally been ironed out and then someone sends you an ugly screenshot showing an even more ugly error you cannot reproduce. He's not tech savvy enough to tell you details about his system config and cannot reliably reproduce the error himself. But the screenshot shows: it's out there. How do you get a grip on that?

3 comments

psyklicover 15 years ago
I've had this happen many times on random users' systems. If the user is nice enough to work with you (and they were in my case since they were caught pre-deployment in contract work), you can often ask them to try new things with a dev build for instance.<p>The main key is to reproduce the errors on your system, so just try a bunch of wacky things like different screen resolutions, memory constraints, database configurations, etc. Continually look at the code and brainstorm what might cause that issue -- there are a limited number of code paths -- and try to cause the constraints in your code. It's definitely very specific to the individual situation.
jacquesmover 15 years ago
Without the screenshot and an idea of the applications state at that moment that's kind of hard to answer.<p>What you could do, is figure out the IP address of the user (that shouldn't be too hard), then go back into the log files and check all their actions one by one rebuilding the state up to the moment of the bugs occurrence.<p>Chances are that you'll be able to reproduce it that way, even if the user is clueless.<p>This little trick saved my ass a couple of times.
tallanvorover 15 years ago
Mark it as 'unable to reproduce' and don't worry too much about it until you get enough information to track down the cause. It sort of sucks, but if very few users are seeing the problem, sometimes it's not worth the effort unless you get a clear lead as to the cause of the problem.