From c9e4cea8ad9fd6bd5a61db77b45d3a25992a3842 Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Sat, 26 Jul 2014 20:38:07 -0700 Subject: [PATCH] Fix handling for automation debug formatting errors One spot was missed when converting stuff over to using error_Tag rather than lua_error for stack unwinding on errors. --- src/auto4_lua_progresssink.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/auto4_lua_progresssink.cpp b/src/auto4_lua_progresssink.cpp index bb6b8f1ba..026cb9583 100644 --- a/src/auto4_lua_progresssink.cpp +++ b/src/auto4_lua_progresssink.cpp @@ -175,7 +175,7 @@ namespace Automation4 { luaL_where(L, 1); lua_insert(L, 1); lua_concat(L, 2); - lua_error(L); + throw error_tag{}; } }