@microsoft/teamsfx 2.2.3-alpha.ebba7eb40.0 → 2.2.3-alpha.fddc9cadc.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.
@@ -2424,6 +2424,7 @@ function cloneConversation(conversation) {
2424
2424
  */
2425
2425
  function getKey(reference) {
2426
2426
  var _a, _b;
2427
+ // eslint-disable-next-line @typescript-eslint/restrict-template-expressions
2427
2428
  return `_${(_a = reference.conversation) === null || _a === void 0 ? void 0 : _a.tenantId}_${(_b = reference.conversation) === null || _b === void 0 ? void 0 : _b.id}`;
2428
2429
  }
2429
2430
  /**
@@ -3664,9 +3665,12 @@ class ConversationBot$1 {
3664
3665
  // the default error handler
3665
3666
  adapter.onTurnError = async (context, error) => {
3666
3667
  // This check writes out errors to console.
3668
+ // eslint-disable-next-line @typescript-eslint/restrict-template-expressions
3667
3669
  console.error(`[onTurnError] unhandled error: ${error}`);
3668
3670
  // Send a trace activity, which will be displayed in Bot Framework Emulator
3669
- await context.sendTraceActivity("OnTurnError Trace", `${error}`, "https://www.botframework.com/schemas/error", "TurnError");
3671
+ await context.sendTraceActivity("OnTurnError Trace",
3672
+ // eslint-disable-next-line @typescript-eslint/restrict-template-expressions
3673
+ `${error}`, "https://www.botframework.com/schemas/error", "TurnError");
3670
3674
  // Send a message to the user
3671
3675
  await context.sendActivity(`The bot encountered unhandled error: ${error.message}`);
3672
3676
  await context.sendActivity("To continue to run this bot, please fix the bot source code.");