Title: Catch exceptions when importing from search paths by jakebailey · Pull Request #525 · microsoft/python-language-server · GitHub
Open Graph Title: Catch exceptions when importing from search paths by jakebailey · Pull Request #525 · microsoft/python-language-server
X Title: Catch exceptions when importing from search paths by jakebailey · Pull Request #525 · microsoft/python-language-server
Description: Fixes #522. Did this quick this morning, figured I'd PR instead of letting it sit around. @AlexanderSher Curious how you'd test this. Tried my hand for a bit but couldn't easily see a way to trigger this. I wanted to spawn a server, add a file in the test-specific root, then delete it, and then call ImportModuleAsync to see that I get ModuleNotFound, but I don't think I had the search paths setup correctly. Feel free to absorb this into a different PR if it's easier.
Open Graph Description: Fixes #522. Did this quick this morning, figured I'd PR instead of letting it sit around. @AlexanderSher Curious how you'd test this. Tried my hand for a bit but couldn't easily see a ...
X Description: Fixes #522. Did this quick this morning, figured I'd PR instead of letting it sit around. @AlexanderSher Curious how you'd test this. Tried my hand for a bit but couldn't e...
Opengraph URL: https://github.com/microsoft/python-language-server/pull/525
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:6035979a-7560-b381-918f-a732a6974f44 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 85E8:82F2D:16908A4:1F215CF:6A4DF2AF |
| html-safe-nonce | 1c8054b30dfafa9167ccc1d6741d343d3bc3c9a370b7bddce513c0f9625eceb2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NUU4OjgyRjJEOjE2OTA4QTQ6MUYyMTVDRjo2QTRERjJBRiIsInZpc2l0b3JfaWQiOiIyNjg4NzQ2MDE5ODE0NzY1MjMxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 1e3fed89353e5c2ea4b51914acc199f6c23191d7e7f47dabacd4faaaf352f49f |
| hovercard-subject-tag | pull_request:243157602 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/microsoft/python-language-server/pull/525/files |
| twitter:image | https://avatars.githubusercontent.com/u/5341706?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/5341706?s=400&v=4 |
| og:image:alt | Fixes #522. Did this quick this morning, figured I'd PR instead of letting it sit around. @AlexanderSher Curious how you'd test this. Tried my hand for a bit but couldn't easily see a ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5818716c93c6a2925b815402541a32814e43a7b1261c322b0c2df75224289566 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/microsoft/python-language-server git https://github.com/microsoft/python-language-server.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 145901977 |
| octolytics-dimension-repository_nwo | microsoft/python-language-server |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 145901977 |
| octolytics-dimension-repository_network_root_nwo | microsoft/python-language-server |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f4bb89367ca678f057d79b1abc45d6675b1bd5b2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width