Fixes unraised exception
- Remove
raise_index=None
whencapture
result is not used to reraise an exception - Rename
capture
intocapture2
, anothercapture
var already exists, this could be dangerous
This could be tested and backported to the branch 2.6