From cdc8dbf6377a55fef8c727dd9c6ba67c8755f7c4 Mon Sep 17 00:00:00 2001
From: Thomas Goyne <plorkyeran@aegisub.org>
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{};
 			}
 		}
 
-- 
GitLab