DEV Community

Rasmus Larsson
Rasmus Larsson

Posted on

How To Analyze An Error

Dimension Checklist

  • Where - In which system, module, function and possibly line of code is the error occurring?
  • What - What is the actual error?
  • Who - Which actor/user is the error occurring for?
  • Why - Why is the error occurring?
  • When - When did the error occur?
  • Transient - Is the error still occurring?
  • Context - What is the surrounding context? Was something happening at the same time elsewhere that could be the cause? (deployment etc.)
  • Impact - What is the immediate but also long-term impact of the error?

Do you have other aspects of an error that you feel should be added to the list? Please comment. :)

Top comments (1)

Collapse
 
rindraraininoro profile image
Raininoro Rindra

Where - In which system, module, function and possibly line of code is the error occurring?

On a website project, logging some properties of the http headers really helps : the referer and the query string parameters for instance.

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay