From 1301af463847fb3222e5b27b8ab2c98e89253cf0 Mon Sep 17 00:00:00 2001 From: johnlanni Date: Mon, 14 Apr 2025 19:14:30 +0800 Subject: [PATCH] remove useless log --- plugins/wasm-go/pkg/wrapper/plugin_wrapper.go | 1 - 1 file changed, 1 deletion(-) diff --git a/plugins/wasm-go/pkg/wrapper/plugin_wrapper.go b/plugins/wasm-go/pkg/wrapper/plugin_wrapper.go index 1ad9bb3da..4345aea59 100644 --- a/plugins/wasm-go/pkg/wrapper/plugin_wrapper.go +++ b/plugins/wasm-go/pkg/wrapper/plugin_wrapper.go @@ -408,7 +408,6 @@ func NewCommonVmCtxWithOptions[PluginConfig any](pluginName string, options ...C var config PluginConfig if unsafe.Sizeof(config) != 0 { msg := "the `parseConfig` is missing in NewCommonVmCtx's arguments" - ctx.log.Critical(msg) panic(msg) } ctx.hasCustomConfig = false