浏览代码

app_python3: enable error log mode for some of missing callback functions

- tm-specific callbacks should trigger error log messages if not found
Daniel-Constantin Mierla 1 年之前
父节点
当前提交
695dc54dc1
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      src/modules/app_python3/apy_kemi.c

+ 4 - 4
src/modules/app_python3/apy_kemi.c

@@ -71,19 +71,19 @@ int sr_kemi_config_engine_python(
 		}
 	} else if(rtype == BRANCH_ROUTE) {
 		if(rname != NULL && rname->s != NULL) {
-			ret = apy_exec(msg, rname->s, NULL, 0);
+			ret = apy_exec(msg, rname->s, NULL, 1);
 		}
 	} else if(rtype == FAILURE_ROUTE) {
 		if(rname != NULL && rname->s != NULL) {
-			ret = apy_exec(msg, rname->s, NULL, 0);
+			ret = apy_exec(msg, rname->s, NULL, 1);
 		}
 	} else if(rtype == BRANCH_FAILURE_ROUTE) {
 		if(rname != NULL && rname->s != NULL) {
-			ret = apy_exec(msg, rname->s, NULL, 0);
+			ret = apy_exec(msg, rname->s, NULL, 1);
 		}
 	} else if(rtype == TM_ONREPLY_ROUTE) {
 		if(rname != NULL && rname->s != NULL) {
-			ret = apy_exec(msg, rname->s, NULL, 0);
+			ret = apy_exec(msg, rname->s, NULL, 1);
 		}
 	} else if(rtype == ONSEND_ROUTE) {
 		if(kemi_onsend_route_callback.len > 0) {