mirror of
https://github.com/apache/cordova-android.git
synced 2025-04-22 08:36:25 +08:00

When a plugin throws an unchecked exception, we're not catching it anywhere and so the error callback is not being called. This change adds a try/catch to catch such exceptions.