eudoxia0 / clack-errors

Error page middleware for Clack.
27 stars 3 forks source link

Pass backtrace to the production function somehow #10

Closed fisxoj closed 8 years ago

fisxoj commented 8 years ago

Hello!

I was thinking it would be nice to pass the backtrace to the production render function as well. Perhaps making the function signatures here the same, or adding the backtrace to the environment.

I'd like to be able to store backtraces from production code somewhere, or email them to myself. This seems like a reasonable place to do it.

fisxoj commented 8 years ago

Aw, it's like a clack-errors Christmas for me, today. Thanks!