Skip to content

Commit

Permalink
refactor the error message, and properly scope to a CRITICAL warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Charles Butler committed Aug 10, 2015
1 parent 23d17ca commit a2efbc1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hooks/hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
try:
leader_status = hookenv.is_leader()
except NotImplementedError:
hookenv.log('This charm requires Juju 1.22.0 or greater. Panic and exit!'
hookenv.log('This charm requires Leader Election. Juju >= 1.23.2.'
' Leader election binary not found, Panic and exit!',
'CRITICAL')
sys.exit(1)

Expand Down

0 comments on commit a2efbc1

Please sign in to comment.