Would it be useful to log a stacktrace here too? It might just add cruft, but with the anonymous functions floating around it could be useful in debugging...