You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For instance, if a developer would like to customize HTTPReceiver's error handling logic (e.g., send a different HTTP status code in accordance with Bolt error code, add extra lines of code such as logging), there is no way apart from creating their own custom receiver.
The built-in receivers can accept functions as part of constructor arguments for customizing those parts.
We may want to add more customizable points than the error handling parts. Please let us know if you have thoughts or ideas about this topic.
See also: slackapi/bolt-python#273
(Please note that, as Bolt for Python / Java do not follow the concept "Receiver", the solution can be a bit different though the goal in the issue is the same)
What type of issue is this? (place an x in one of the [ ])
bug
enhancement (feature request)
question
documentation related
example code related
testing related
discussion
Requirements (place an x in each of the [ ])
I've read and understood the Contributing guidelines and have done my best effort to follow them.
Description
The error handling parts of the built-in receivers are not customizable for developers.
For instance, if a developer would like to customize
HTTPReceiver
's error handling logic (e.g., send a different HTTP status code in accordance with Bolt error code, add extra lines of code such as logging), there is no way apart from creating their own custom receiver.The built-in receivers can accept functions as part of constructor arguments for customizing those parts.
We may want to add more customizable points than the error handling parts. Please let us know if you have thoughts or ideas about this topic.
See also: slackapi/bolt-python#273
(Please note that, as Bolt for Python / Java do not follow the concept "Receiver", the solution can be a bit different though the goal in the issue is the same)
What type of issue is this? (place an
x
in one of the[ ]
)Requirements (place an
x
in each of the[ ]
)The text was updated successfully, but these errors were encountered: