Better error handling for native app event bridge