Add missing try/catch to a call to getDeviceInfo.