From afa158937fc50b31a77a924d5c2dd3bbb2849402 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BA=90=E6=96=87=E9=9B=A8?= <41315874+fumiama@users.noreply.github.com> Date: Mon, 16 Feb 2026 16:10:52 +0800 Subject: [PATCH] feat: add more hint --- ext/init.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ext/init.go b/ext/init.go index 09ebf10..66da29a 100644 --- a/ext/init.go +++ b/ext/init.go @@ -17,8 +17,9 @@ func init() { } _, err := plugin.Open(TRSPluginFile) if err != nil { - logrus.Warnln("[terasu.plugin] load", TRSPluginFile, "err:", err) + logrus.Warnln("[terasu.plugin] load ext", TRSPluginFile, "err:", err) logrus.Warnln("[terasu.plugin] hint: ensure the main binary and plugin are built with identical flags (e.g. both use -trimpath -ldflags=\"-s -w\"), and avoid using 'go run'") return } + logrus.Infoln("[terasu.plugin] loaded ext", TRSPluginFile) }