Adding stacktrace log for testing