[modules/pulseaudio] Raise if not able to handle error
This commit is contained in:
parent
a1aec8fff6
commit
b839a9eb44
1 changed files with 2 additions and 0 deletions
|
@ -162,6 +162,8 @@ class Module(core.module.Module):
|
||||||
logging.exception(e)
|
logging.exception(e)
|
||||||
if util.format.asbool(self.parameter('autostart', False)):
|
if util.format.asbool(self.parameter('autostart', False)):
|
||||||
util.cli.execute('pulseaudio --start', ignore_errors=True)
|
util.cli.execute('pulseaudio --start', ignore_errors=True)
|
||||||
|
else:
|
||||||
|
raise e
|
||||||
|
|
||||||
def state(self, widget):
|
def state(self, widget):
|
||||||
if self._mute:
|
if self._mute:
|
||||||
|
|
Loading…
Add table
Reference in a new issue