DEV Community

Akshay Kolhapure
Akshay Kolhapure

Posted on

Stop reading stack traces β€” this tool explains them

Hi devs πŸ‘‹

I built a small open-source library called whylog.

It’s not another logger β€” it’s a runtime diagnostic engine that explains WHY your app crashed.

Instead of this:

Error: Cannot find module...

You get:

βœ” Clear explanation
βœ” Source snippet
βœ” Fix suggestions
βœ” Clean stack trace
βœ” JSON output for production

Works in Node, serverless functions, and browser environments.

Install:
npm install whylog

Usage:
import "whylog/register"

I’d love feedback, ideas, or real-world error cases to improve heuristics.

GitHub: https://github.com/kolhapureakshay/whylog
npm: https://www.npmjs.com/package/whylog

Demo:
Before:
Without using any library

After using "whylog" library:
After using

Top comments (0)