wrapping up ExternalInterfaca.addCallback into try/catch