azure-kusto-python icon indicating copy to clipboard operation
azure-kusto-python copied to clipboard

remove unnecessary raise

Open pengzhengyi opened this issue 2 years ago • 1 comments

Pull Request Description

_handle_http_error will definitely raise exception, I believe another raise is unnecessary.


Future Release Comment

Remove raise in invocations of _handle_http_error.

Breaking Changes:

  • None

Features:

  • None

Fixes:

  • None

pengzhengyi avatar Aug 24 '22 05:08 pengzhengyi

CLA assistant check
All CLA requirements met.

ghost avatar Aug 24 '22 05:08 ghost

Thanks for this contribution. The point of the raise in these lines it to tell the IDE the function is not expected to continue after this line. The called API will handle actual raise itself.

yogilad avatar Nov 16 '22 13:11 yogilad