Fix issue with surround_with_exception_handler
It was possible to get an error of: - UnboundLocalError: local variable 'result' referenced before assignment because catchable exception was causing leaving result variable unset (since the check for exception was done at the context manager exit)
Loading
Please sign in to comment