Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Fixed not raised exceptions #51435
What does this PR do?
I work for Semmle and I noticed the bugs with out LGTM code analyzer
Exceptions called but not raised
Exceptions are raised as intended
Commits signed with GPG?
Raised 11 exceptions `CommandExecutionError` in `salt/modules/panos.py` and 1 exception `SaltInvocationError` in `salt/modules/win_dsc.py` that were called but not raised. I work for Semmle and I noticed the bug with out LGTM code analyzer https://lgtm.com/projects/g/saltstack/salt/alerts/?mode=tree&severity=error&lang=python&ruleFocus=1505923886371