pyVim.connect module can raise exception of type Exception
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Python
- Stars
- 2.3k
- Forks
- 763
- PR merge metrics
- No merged PRs in 30d
Description
because it raise exceptions of type Exception
these exceptions can't be caught in a same manner - can catch other things as well
for example:
if supportedVersion is None:
raise Exception("%s:%s is not a VIM server" % (host, port)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the pyVim.connect module and the supportedVersion check shown in the issue. Review how callers currently catch connection failures and identify the intended specific exception behavior. Done means the module no longer raises the generic Exception for this case and the relevant failure remains catchable without catching unrelated errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100