hooks framework raises if called with unregistered name

Bug #1478701 reported by Jay R. Wren
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Charm Helpers
New
Undecided
Unassigned

Bug Description

There is really no good reason for this to be a raise.

It would be nice if it were a log message and not a raise.

This would allow an otherwise perfectly good charm to continue to function even though there is some odd, unused configuration.

https://jujucharms.com/docs/stable/authors-hook-errors says "If any of your hooks returns a non-zero exit code, juju will stop managing the unit directly and will wait for user intervention. This is a Bad Thing, and you should make every effort to avoid it, because the average user may not be in a position to diagnose the fault with any great degree of sophistication." Charm helpers should help to avoid non-zero exit code.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.