Added a function to try to capture a nice stacktrace for Hop and include it in the errors