修复错将debug日志当作error日志的问题

This commit is contained in:
2026-01-30 20:06:42 +08:00
parent f59b41c238
commit 6b17bb6ab8

View File

@@ -105,7 +105,7 @@ fn log_debug(msg: &cxx::CxxString) {
let msg = cxx_string_to_string(msg); let msg = cxx_string_to_string(msg);
let lock = LOGGER_SENDER.get().unwrap(); let lock = LOGGER_SENDER.get().unwrap();
let _ = lock.send(Starpoles { let _ = lock.send(Starpoles {
r#type: MessageType::Error.into(), r#type: MessageType::Debug.into(),
message: msg, message: msg,
}); });
} }