SIGN IN SIGN UP
tauri-apps / tauri UNCLAIMED

Build smaller, faster, and more secure desktop and mobile applications with a web frontend.

0 0 123 Rust

fix(core): properly handle async errors in addPluginListener (#14464)

* fix(core): properly handle async errors in addPluginListener

The previous implementation used .then() after invoke() without await, which prevented the catch block from handling rejected promises. Now using await to properly catch errors and allow fallback to camelCase registerListener method.

* Change file and generate `bundle.global.js`

---------

Co-authored-by: Tony <legendmastertony@gmail.com>
A
Aleksey Ponomarev committed
ad1dec2e2488fe5c0a004b69f1bd290dfc593bf8
Parent: beffcd8
Committed by GitHub <noreply@github.com> on 11/15/2025, 4:07:51 AM