print full stacktrace to better diagnose internal problems (#373)