From e251ffbb799743400ce620d8cc2793f1b6a17c3d Mon Sep 17 00:00:00 2001 From: anlicheng <244108715@qq.com> Date: Wed, 11 Sep 2024 16:01:00 +0800 Subject: [PATCH] fix --- apps/iot/src/iot_watchdog.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/iot/src/iot_watchdog.erl b/apps/iot/src/iot_watchdog.erl index 66112c9..1385a67 100644 --- a/apps/iot/src/iot_watchdog.erl +++ b/apps/iot/src/iot_watchdog.erl @@ -169,7 +169,7 @@ handle_info({timeout, _, warn_ticker}, State = #state{warn_buf = WarnBuf, url = case length(WarnBuf) > 0 of true -> Warn0 = hd(WarnBuf), - Warn = iolist_to_binary([Warn0, <<"(累计: ">>, integer_to_binary(length(WarnBuf)), <<")">>]), + Warn = iolist_to_binary([Warn0, <<"(累计: "/utf8>>, integer_to_binary(length(WarnBuf)), <<")">>]), Body = format_warn(Warn, Users, PriKey), case catch do_post(Url, Body) of {ok, Resp} ->