I'm working on some code using post command hook and there were some errors
in it which were not trivial to find, because post-command-hook does not print
backtraces when debug on error is enabled.
It prints an error message though, here are two examples from my code:
Error in post-command-hook (my-post-command): (wrong-number-of-arguments (2 . 2) 1)
Error in post-command-hook (my-post-command): (wrong-type-argument listp t)
Seeing these I was wondering why the error does not contain the called function name.
Is that info not available? It could help debugging a lot if the error also printed the
function name alongside with the error.