diff --git a/docs/api/ipc-main.md b/docs/api/ipc-main.md index 58a0e390c9..9133b43bd3 100644 --- a/docs/api/ipc-main.md +++ b/docs/api/ipc-main.md @@ -120,6 +120,11 @@ The `event` that is passed as the first argument to the handler is the same as that passed to a regular event listener. It includes information about which WebContents is the source of the invoke request. +Errors thrown through `handle` in the main process are not transparent as they +are serialized and only the `message` property from the original error is +provided to the renderer process. Please refer to +[#24427](https://github.com/electron/electron/issues/24427) for details. + ### `ipcMain.handleOnce(channel, listener)` * `channel` String