-
Notifications
You must be signed in to change notification settings - Fork 25
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
[QUERY] Is it possible to get a log on what failed in a view submission handler for a modal view #275
Comments
Hi, @spoike! Thanks for your question! ✨ For general logging for your app, I recommend taking a look at this resource. This guide walks through how to use both function-level and app-level logging to troubleshoot and debug your app. Let me know if you have additional questions or if this is not what you were looking for! |
Thanks. However I'm not asking about function-level or app-level logging. This is about getting any error log from Slack's backend (in context why the There is an |
I've checked |
Thanks for the update, @spoike! Let me check with the team internally to see if there's a way to log these errors, and I'll get back to you! 🙇 |
@spoike Quick question - is the |
It is consistent |
Question
Is there a way to get a log during
slack run
on why a ViewSubmissionHandler failed using theresponse_action
method?It currently does not print any errors on the log output while trying to update the modal view.
Context
I'm building a step-by-step interactive modal view. In some instances I can't update a view using the following return:
This fails "quietly", as in there is no error in the log output. Instead the modal is not updated and the following error message is shown:
However updating the view via the client object works and it is with the exact view!
Unfortunately the modal closes when there is no return. You can return the same thing after this Slack API Client call, the view will update but the response_action will still fail and show the error message.
Coincidentally the same view works in the BlockActionsHandler using the Slack API Client.
Environment
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.
Sure thing. 🤘
The text was updated successfully, but these errors were encountered: