浏览代码

fix(core): IPC tracing field incompatibility (#9720)

Lucas Fernandes Nogueira 1 年之前
父节点
当前提交
fedca73860
共有 2 个文件被更改,包括 6 次插入1 次删除
  1. 5 0
      .changes/fix-incompatible-ipc-field-postmessage.md
  2. 1 1
      core/tauri/src/ipc/protocol.rs

+ 5 - 0
.changes/fix-incompatible-ipc-field-postmessage.md

@@ -0,0 +1,5 @@
+---
+"tauri": patch:bug
+---
+
+Fix IPC tracing format incompatible between the custom protocol and the postMessage implementations.

+ 1 - 1
core/tauri/src/ipc/protocol.rs

@@ -167,7 +167,7 @@ fn handle_ipc_message<R: Runtime>(request: Request<String>, manager: &AppManager
       "ipc::request",
       kind = "post-message",
       uri = request.uri().to_string(),
-      body = request.body()
+      request = request.body()
     )
     .entered();