Add stacktrace to internal error message

Thank you for your work. I think it is better to log stacktrace. Sometimes it is very important