Does it possible to add a line number where exception has been thown? If you see just hook's name, its almost doesn't helps to developers to understand where is that stupid NPE just happened (if was reported by user).
I have found a solution at SO, probably you can use it to make the stacktrace much more helpful: https://stackoverflow.com/questions/3328990/c-sharp-get-line-number-which-threw-exception
UPD: didn't knew, System.Diagnostics is only used in Debug mode. For Release mode probably solution is to use .pdb files: https://stackoverflow.com/questions/628565/display-lines-number-in-stack-trace-for-net-assembly-in-release-mode
I have found a solution at SO, probably you can use it to make the stacktrace much more helpful: https://stackoverflow.com/questions/3328990/c-sharp-get-line-number-which-threw-exception
UPD: didn't knew, System.Diagnostics is only used in Debug mode. For Release mode probably solution is to use .pdb files: https://stackoverflow.com/questions/628565/display-lines-number-in-stack-trace-for-net-assembly-in-release-mode