Create generic CharmError to use for all charm-internal exceptions
Bug #1462271 reported by
Данило Шеган
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Landscape Charm |
Fix Released
|
Medium
|
Данило Шеган |
Bug Description
As discussed on https:/
We should move all exceptions to CharmError and drop HookError altogether.
Related branches
lp:~danilo/landscape-charm/charm-errors
- 🤖 Landscape Builder: Approve (test results)
- Björn Tillenius (community): Approve
- Free Ekanayaka (community): Approve
-
Diff: 622 lines (+164/-86)15 files modifiedlib/apt.py (+10/-2)
lib/callbacks/filesystem.py (+19/-6)
lib/callbacks/tests/test_filesystem.py (+12/-6)
lib/error.py (+7/-0)
lib/hook.py (+2/-8)
lib/install.py (+3/-2)
lib/relations/config.py (+12/-5)
lib/relations/haproxy.py (+30/-8)
lib/relations/hosted.py (+10/-3)
lib/relations/landscape.py (+10/-2)
lib/relations/tests/test_config.py (+17/-17)
lib/relations/tests/test_haproxy.py (+16/-15)
lib/relations/tests/test_hosted.py (+6/-3)
lib/relations/tests/test_landscape.py (+6/-4)
lib/tests/test_apt.py (+4/-5)
tags: | removed: kanban |
Changed in landscape-charm: | |
status: | In Progress → Fix Committed |
Changed in landscape-charm: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.