Print lua stack trace to debug log on error.