Skip to content

Commit

Permalink
Add log to bad request error (#4155)
Browse files Browse the repository at this point in the history
  • Loading branch information
ceciliaavila authored Mar 11, 2022
1 parent 3bcc47f commit afbc0c1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libraries/botbuilder/src/cloudAdapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ export class CloudAdapter extends CloudAdapterBase implements BotFrameworkHttpAd
const activity = validateAndFixActivity(ActivityT.parse(req.body));

if (!activity.type) {
console.warn('BadRequest: Missing activity or activity type.');
return end(StatusCodes.BAD_REQUEST);
}

Expand Down

0 comments on commit afbc0c1

Please sign in to comment.