slackapi / deno-slack-sdk

SDK for building Run on Slack apps using Deno
https://api.slack.com/automation
MIT License
162 stars 27 forks source link

[FEATURE] Allow Slackbot error messages to be sent to specified channels #315

Open mirianbatista opened 4 months ago

mirianbatista commented 4 months ago

Description of the problem being solved

I followed this example to build a Slack app. When an error occurs, Slackbot sends messages like @user ran a workflow that you built and there was a problem with the xxx step: Function failed to execute. As far as I researched, it is not possible to define where Slackbot sends these messages.

Alternative solutions

It would be very useful to be able to specify in the manifest.ts (or another way) where Slackbot should send the error messages. For example, in my team, we have a monitoring channel, and it would be great if Slackbot could send error messages there instead of to me (the app developer). I believe this would provide greater flexibility for app monitoring.

Requirements Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.

filmaj commented 4 months ago

Yes I agree @mirianbatista - it can be quite annoying to get DMs for app errors. I will raise this internally, but, I highly recommend you also send an email to feedback@slack.com explaining that this feature request as well. This e-mail is monitored by our platform leadership and these sorts of feedback items carry a lot of weight when determining priority.

mirianbatista commented 4 months ago

@filmaj thank you, email sent!