codegangsta/martini — pull request #161 by vanackere (2014-01-27 10:55:42+00:00)
Title: Recovey middleware : improve stacktrace

debug.Stack is not only deprecated (scheduled for removal), but also broken for package path containing dots (like "github.com/codegangsta/martini"...).
We fix this by introducing a private copy of debug.Stack that handles this (and also removes 1 more level of stackframe for cosmetic reasons).