@microsoft/teamsfx 2.2.3-alpha.ebba7eb40.0 → 2.2.3-alpha.f2e5373f1.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.
@@ -2487,6 +2487,7 @@ function cloneConversation(conversation) {
2487
2487
  */
2488
2488
  function getKey(reference) {
2489
2489
  var _a, _b;
2490
+ // eslint-disable-next-line @typescript-eslint/restrict-template-expressions
2490
2491
  return `_${(_a = reference.conversation) === null || _a === void 0 ? void 0 : _a.tenantId}_${(_b = reference.conversation) === null || _b === void 0 ? void 0 : _b.id}`;
2491
2492
  }
2492
2493
  /**
@@ -3798,9 +3799,12 @@ class ConversationBot$1 {
3798
3799
  // the default error handler
3799
3800
  adapter.onTurnError = (context, error) => tslib.__awaiter(this, void 0, void 0, function* () {
3800
3801
  // This check writes out errors to console.
3802
+ // eslint-disable-next-line @typescript-eslint/restrict-template-expressions
3801
3803
  console.error(`[onTurnError] unhandled error: ${error}`);
3802
3804
  // Send a trace activity, which will be displayed in Bot Framework Emulator
3803
- yield context.sendTraceActivity("OnTurnError Trace", `${error}`, "https://www.botframework.com/schemas/error", "TurnError");
3805
+ yield context.sendTraceActivity("OnTurnError Trace",
3806
+ // eslint-disable-next-line @typescript-eslint/restrict-template-expressions
3807
+ `${error}`, "https://www.botframework.com/schemas/error", "TurnError");
3804
3808
  // Send a message to the user
3805
3809
  yield context.sendActivity(`The bot encountered unhandled error: ${error.message}`);
3806
3810
  yield context.sendActivity("To continue to run this bot, please fix the bot source code.");