Tibor Kiss created STORM-2338:
---------------------------------
Summary: Subprocess exception handling is broken in storm.py on
Windows environment
Key: STORM-2338
URL: https://issues.apache.org/jira/browse/STORM-2338
Project: Apache Storm
Issue Type: Bug
Components: storm-core
Affects Versions: 2.0.0, 1.x, 0.10.3
Reporter: Tibor Kiss
Assignee: Tibor Kiss
Priority: Minor
There is typo in the exception handling branch in {{storm.py::
exec_storm_class()}}:
{code}
try:
ret = sub.check_output(all_args, stderr=sub.STDOUT)
print(ret)
except sub.CalledProcessor as e:
sys.exit(e.returncode)
{code}
There is no "CalledProcessor" type of exception exists in subprocess module.
The correct exception name is CalledProcessError.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)