Title: Make Exeption traceable in lazy listener · Issue #635 · slackapi/bolt-python · GitHub
Open Graph Title: Make Exeption traceable in lazy listener · Issue #635 · slackapi/bolt-python
X Title: Make Exeption traceable in lazy listener · Issue #635 · slackapi/bolt-python
Description: (Describe your issue and goal here) Currently, using lazy listener for FAAS (such as AWS Lambda), it's really difficult to debug. If we have a exception, we just have something like Failed to run an internal function (Exception ABC) We d...
Open Graph Description: (Describe your issue and goal here) Currently, using lazy listener for FAAS (such as AWS Lambda), it's really difficult to debug. If we have a exception, we just have something like Failed to run a...
X Description: (Describe your issue and goal here) Currently, using lazy listener for FAAS (such as AWS Lambda), it's really difficult to debug. If we have a exception, we just have something like Failed to r...
Opengraph URL: https://github.com/slackapi/bolt-python/issues/635
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Make Exeption traceable in lazy listener","articleBody":"(Describe your issue and goal here)\r\nCurrently, using lazy listener for FAAS (such as AWS Lambda), it's really difficult to debug. If we have a exception, we just have something like \r\n\r\n`Failed to run an internal function (Exception ABC)`\r\n\r\nWe don't know exactly, what is the error, traceback, error line etc...\r\n\r\n```\r\n try:\r\n await internal_func(\r\n **build_async_required_kwargs(\r\n logger=logger,\r\n required_arg_names=arg_names,\r\n request=request,\r\n response=None,\r\n this_func=internal_func,\r\n )\r\n )\r\n except Exception as e:\r\n logger.error(f\"Failed to run an internal function ({e})\")\r\n\r\n```\r\n \r\nSo should we have an option to enable the exception traceback or provide some meaningful error information to debug instead of just simply message like that\r\n\r\nOn the other hand, the document about error handling does not work with lazy listener so we also need to update.\r\nhttps://slack.dev/bolt-python/concepts#errors\r\n\r\n\r\n### Category (place an `x` in each of the `[ ]`)\r\n\r\n* [ ] **slack_bolt.App** and/or its core components\r\n* [ ] **slack_bolt.async_app.AsyncApp** and/or its core components\r\n* [ ] Adapters in **slack_bolt.adapter**\r\n* [x ] Others\r\n\r\n## Requirements\r\n\r\nPlease read the [Contributing guidelines](https://github.com/slackapi/bolt-python/blob/main/.github/contributing.md) and [Code of Conduct](https://slackhq.github.io/code-of-conduct) before creating this issue or pull request. By submitting, you are agreeing to those rules.\r\n","author":{"url":"https://github.com/jimmymaise","@type":"Person","name":"jimmymaise"},"datePublished":"2022-04-20T06:01:28Z","url":"https://github.com/slackapi/bolt-python/issues/635"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:e363dfe4-d442-4c66-e68a-e795e433c59f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D926:1FA202:8839F:C6661:6AFEB90D |
| html-safe-nonce | 3f62b098966a792292a17eb8e418299070c9c8f2b81c3fec7cf7b08999b5ef5a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOTI2OjFGQTIwMjo4ODM5RjpDNjY2MTo2QUZFQjkwRCIsInZpc2l0b3JfaWQiOiIzNTIxNzYzNTQ2ODg0OTEzNDIxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | ccb6c39e58874d670b76d55a5db980548e3f8737b3247af9d46f4801aadf8060 |
| hovercard-subject-tag | issue:1209200686 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/slackapi/bolt-python/635/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a3b5cdeda75ec57be6b928e549e38588e1e961d41af66835837ceeaeec8ed42d/slackapi/bolt-python/issues/635 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a3b5cdeda75ec57be6b928e549e38588e1e961d41af66835837ceeaeec8ed42d/slackapi/bolt-python/issues/635 |
| og:image:alt | (Describe your issue and goal here) Currently, using lazy listener for FAAS (such as AWS Lambda), it's really difficult to debug. If we have a exception, we just have something like Failed to run a... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jimmymaise |
| hostname | github.com |
| expected-hostname | github.com |
| None | 95b2753c978240785d6cca00783c00a371b2d7d9879bb32e305170a1b19bd28e |
| turbo-cache-control | no-preview |
| go-import | github.com/slackapi/bolt-python git https://github.com/slackapi/bolt-python.git |
| octolytics-dimension-user_id | 6962987 |
| octolytics-dimension-user_login | slackapi |
| octolytics-dimension-repository_id | 268795735 |
| octolytics-dimension-repository_nwo | slackapi/bolt-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 268795735 |
| octolytics-dimension-repository_network_root_nwo | slackapi/bolt-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3f25273206cd841171bca0002261ae4c9757d934 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width