You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2022/07/07 16:47:49 UTC

[trafficserver] branch 9.2.x updated: Stop ATS when a global lua script fails to load (#8671)

This is an automated email from the ASF dual-hosted git repository.

zwoop pushed a commit to branch 9.2.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/9.2.x by this push:
     new 3c345a120 Stop ATS when a global lua script fails to load (#8671)
3c345a120 is described below

commit 3c345a120b1c3ab003ca82d2306c69eb10b5162b
Author: Kit Chan <ki...@apache.org>
AuthorDate: Wed Feb 16 15:02:28 2022 -0800

    Stop ATS when a global lua script fails to load (#8671)
    
    * Stop ATS when a global lua script fails to load
    
    * fix compile problem
    
    (cherry picked from commit e29827f5cc1c200a9f4fc28e899b13fc00ff9851)
---
 plugins/lua/ts_lua.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/lua/ts_lua.c b/plugins/lua/ts_lua.c
index 8e609fd5a..a4c5532b0 100644
--- a/plugins/lua/ts_lua.c
+++ b/plugins/lua/ts_lua.c
@@ -856,7 +856,7 @@ TSPluginInit(int argc, const char *argv[])
 
   if (ret != 0) {
     TSError(errbuf, NULL);
-    TSError("[ts_lua][%s] ts_lua_add_module failed", __FUNCTION__);
+    TSEmergency("[ts_lua][%s] ts_lua_add_module failed", __FUNCTION__);
     return;
   }