I'm filling some gaps in code coverage, and making some small improvements to documentation, in a lead up to a release candidate.
What do you think of this output?
Testing io.pedestal.interceptor-test
WARNING: io.pedestal.interceptor.chain/execute-only is deprecated and may be removed in a future release
Call stack: ... clojure.test/test-var -> clojure.test/test-var/fn -> io.pedestal.interceptor-test/fn -> io.pedestal.interceptor.chain/execute-onlyAs long as "my function" & line number is mentioned somewhere.
io.pedestal.interceptor-test/fn is "my function"
I had it print out the file and line number but it made the output very cluttered; I don't want to print vertically because that will make it look like an exception was thrown.
Oh OK
Basically, show the last few stack frames before the deprecated function was invoked