Ensemble command should not produce tracebacks upon error
Bug #697091 reported by
Jim Baker
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyjuju |
Fix Released
|
High
|
Benjamin Saller |
Bug Description
Currently the ensemble command will produce a traceback upon an error. This appears to be true of all of our subcommands.
Presumably it would be useful to have this traceback under some debug setting however.
Related branches
lp:~bcsaller/pyjuju/cli-failure-reporting
- Gustavo Niemeyer: Approve
-
Diff: 70 lines (+11/-8)2 files modifiedensemble/control/command.py (+2/-2)
ensemble/control/tests/test_control.py (+9/-6)
Changed in ensemble: | |
milestone: | none → capetown |
Changed in ensemble: | |
assignee: | nobody → Kapil Thangavelu (hazmat) |
status: | New → In Progress |
Changed in ensemble: | |
assignee: | Kapil Thangavelu (hazmat) → Benjamin Saller (bcsaller) |
Changed in ensemble: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
additionally on error we should exit with a non-zero status code.