diff options
Diffstat (limited to 'cloudinit/cmd/devel/hotplug_hook.py')
-rwxr-xr-x | cloudinit/cmd/devel/hotplug_hook.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/cmd/devel/hotplug_hook.py b/cloudinit/cmd/devel/hotplug_hook.py index 560857ef..78085735 100755 --- a/cloudinit/cmd/devel/hotplug_hook.py +++ b/cloudinit/cmd/devel/hotplug_hook.py @@ -168,7 +168,7 @@ def is_enabled(hotplug_init, subsystem): try: scope = SUBSYSTEM_PROPERTES_MAP[subsystem][1] except KeyError as e: - raise Exception( + raise RuntimeError( "hotplug-hook: cannot handle events for subsystem: {}".format( subsystem ) |