-
Notifications
You must be signed in to change notification settings - Fork 481
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can you add a log line for this exception? #6577
Comments
Thanks for the patch. My new log is:
I can now investigate my problem. |
My bot does not work for an obscure authentication reason. I believe the runtime goes into this line of code.
Can someone add a
logger.LogWarning
call with detailled info so I can know what is happening?My log file is like that:
As you can see, the last line indicates my controller returns a HTTP 401 code. The controller action is calling
await this.adapter.ProcessAsync(this.Request, this.Response, this.bot);
(this.adapter
is of typeIBotFrameworkHttpAdapter
, the instance ofthis.adapter
isCloudAdapterWithErrorHandler
, which inheritsMicrosoft.Bot.Builder.Integration.AspNet.Core.CloudAdapter
.Referencing BotBuilder 4.18.1.
Log config:
The text was updated successfully, but these errors were encountered: