@webex/plugin-meetings 2.6.0 → 2.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6205,26 +6205,34 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
6205
6205
  case 12:
6206
6206
  this.isBnrEnabled = true;
6207
6207
  isSuccess = true;
6208
- _context4.next = 20;
6208
+
6209
+ _metrics.default.sendBehavioralMetric(_constants2.default.ENABLE_BNR_SUCCESS);
6210
+
6211
+ _context4.next = 22;
6209
6212
  break;
6210
6213
 
6211
- case 16:
6212
- _context4.prev = 16;
6214
+ case 17:
6215
+ _context4.prev = 17;
6213
6216
  _context4.t0 = _context4["catch"](2);
6214
6217
 
6215
6218
  _loggerProxy.default.logger.error("Meeting:index#enableBNR. ".concat(_context4.t0));
6216
6219
 
6220
+ _metrics.default.sendBehavioralMetric(_constants2.default.ENABLE_BNR_FAILURE, {
6221
+ reason: _context4.t0.message,
6222
+ stack: _context4.t0.stack
6223
+ });
6224
+
6217
6225
  throw _context4.t0;
6218
6226
 
6219
- case 20:
6227
+ case 22:
6220
6228
  return _context4.abrupt("return", isSuccess);
6221
6229
 
6222
- case 21:
6230
+ case 23:
6223
6231
  case "end":
6224
6232
  return _context4.stop();
6225
6233
  }
6226
6234
  }
6227
- }, _callee4, this, [[2, 16]]);
6235
+ }, _callee4, this, [[2, 17]]);
6228
6236
  }));
6229
6237
 
6230
6238
  function enableBNR() {
@@ -6277,26 +6285,34 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
6277
6285
  case 10:
6278
6286
  this.isBnrEnabled = false;
6279
6287
  isSuccess = true;
6280
- _context5.next = 18;
6288
+
6289
+ _metrics.default.sendBehavioralMetric(_constants2.default.DISABLE_BNR_SUCCESS);
6290
+
6291
+ _context5.next = 20;
6281
6292
  break;
6282
6293
 
6283
- case 14:
6284
- _context5.prev = 14;
6294
+ case 15:
6295
+ _context5.prev = 15;
6285
6296
  _context5.t0 = _context5["catch"](2);
6286
6297
 
6287
6298
  _loggerProxy.default.logger.error("Meeting:index#disableBNR. ".concat(_context5.t0));
6288
6299
 
6300
+ _metrics.default.sendBehavioralMetric(_constants2.default.DISABLE_BNR_FAILURE, {
6301
+ reason: _context5.t0.message,
6302
+ stack: _context5.t0.stack
6303
+ });
6304
+
6289
6305
  throw _context5.t0;
6290
6306
 
6291
- case 18:
6307
+ case 20:
6292
6308
  return _context5.abrupt("return", isSuccess);
6293
6309
 
6294
- case 19:
6310
+ case 21:
6295
6311
  case "end":
6296
6312
  return _context5.stop();
6297
6313
  }
6298
6314
  }
6299
- }, _callee5, this, [[2, 14]]);
6315
+ }, _callee5, this, [[2, 15]]);
6300
6316
  }));
6301
6317
 
6302
6318
  function disableBNR() {