My point is that you're not ignoring the very specific exception of the wifi manager not being ready. You're ignoring any potential JavaScript exception that could occur. That's not something we should be doing. Really we should fix this in the correct way by waiting for the wifi manager to be ready, rather than simply ignoring the exception.