This piece of Ring middleware will catch exceptions and visualize them in a helpful way. It shows you the parts of your code that are part of the stack trace. Not just the line number, but the actual code. It also tracks ExceptionInfo data. I am now recommending this be a part of every development Ring stack, just like wrap-reload.