crossbario / crossbario/autobahn-python
INVOCATION endpoint error handler fails if exception has an empty args attribute
Open
Nobody has claimed this yet.
bug
wamp
- Dominant language
- Python
- Stars
- 2.5k
- Forks
- 768
- PR merge metrics
- No merged PRs in 30d
Description
protocol.py l.805 throws an UNHANDLED IndexError in that case.
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 at autobahn/wamp/protocol.py line 805, where the INVOCATION endpoint error handler raises an IndexError when an exception has an empty args attribute. Reproduce that case and trace the handler's assumptions about exception arguments. Done means the empty-args case no longer produces an unhandled IndexError while still returning the appropriate endpoint error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100