diff --git a/desktop/plugins/public/reactdevtools/index.tsx b/desktop/plugins/public/reactdevtools/index.tsx index 233bca957..f14262d07 100644 --- a/desktop/plugins/public/reactdevtools/index.tsx +++ b/desktop/plugins/public/reactdevtools/index.tsx @@ -219,7 +219,9 @@ export function devicePlugin(client: DevicePluginClient) { }, send(event: any, payload: any) { const data = {event, payload}; - client.sendToServerAddOn('message', data); + client.sendToServerAddOn('message', data).catch((e) => { + console.warn(`Failed to send message to React devtools`, e); + }); }, };