Skip to content
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

Commented code to post error as reply to user #168

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Pawank-MSFT
Copy link

@Pawank-MSFT Pawank-MSFT commented Sep 4, 2024

We have seen few of the apps reply with error code as an when something break. To avoid developer from checking in the code in production which will create a spammy behavior for users if app is installed in a channel, we have raise the PR to comment these like which send error messages to user with note.

@Pawank-MSFT Pawank-MSFT changed the title Specified local debugging inside the adapter Commented code to post error as reply to user Sep 4, 2024
@garrytrinder
Copy link
Collaborator

Thank you for your PR @Pawank-MSFT.

create a spammy behavior for users if app is installed in a channel

When I try to use a plugin in a teams channel I get this error, is this what you mean?

image

@Pawank-MSFT
Copy link
Author

No, That is related to Bot failure if we need to debug in local.

@garrytrinder
Copy link
Collaborator

If the code errors. then it's better for the error to be handled and an appropriate message returned to the user instead of suppressing the errors IMO.

If the sample isn't suitable for use in a teams channel, then we should look to handle this appropriately without removing feedback to the user entirely.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants