Skip to content

Commit 335357f

Browse files
ReferenceError: status is not defined (#1456)
Looks like it's copied from the `processActivity` method and the `status` mistakenly left there Co-authored-by: Steven Ickman <stevenic@microsoft.com>
1 parent 405ba8b commit 335357f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libraries/botbuilder/src/botFrameworkAdapter.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -798,9 +798,9 @@ export class BotFrameworkAdapter extends BotAdapter implements IUserTokenProvide
798798

799799
if (processError) {
800800
if (processError && (processError as Error).stack) {
801-
throw new Error(`BotFrameworkAdapter.processActivity(): ${ status } ERROR\n ${ processError.stack }`);
801+
throw new Error(`BotFrameworkAdapter.processActivityDirect(): ERROR\n ${ processError.stack }`);
802802
} else {
803-
throw new Error(`BotFrameworkAdapter.processActivity(): ${ status } ERROR`);
803+
throw new Error(`BotFrameworkAdapter.processActivityDirect(): ERROR`);
804804
}
805805
}
806806
}

0 commit comments

Comments
 (0)