show reason for audiogen failure
This commit is contained in:
parent
55b03841b0
commit
2cce020fab
2 changed files with 3 additions and 5 deletions
|
@ -1,5 +1,3 @@
|
|||
from __future__ import print_function
|
||||
|
||||
from flask_wtf import Form
|
||||
from wtforms import StringField, validators, SubmitField
|
||||
|
||||
|
|
|
@ -184,9 +184,9 @@ class Monitor(ParentedLet):
|
|||
for audiospec in audiospecs:
|
||||
try:
|
||||
uris.extend(audiogenerate(audiospec))
|
||||
except:
|
||||
self.log.error('audiogenerate for %s failed',
|
||||
str(audiospec))
|
||||
except Exception as exc:
|
||||
self.log.error('audiogenerate for <%s> failed; reason: %s',
|
||||
str(audiospec), str(exc))
|
||||
self.send_to_parent('uris_enqueue',
|
||||
dict(uris=uris,
|
||||
timespec=timespec,
|
||||
|
|
Loading…
Reference in a new issue