|
|
|
Ask HN: How do you get a grip on phantom errors?
|
|
3 points
by jupiter
6093 days 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? |
|
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.