mirror of
https://github.com/ha7ilm/openwebrx.git
synced 2026-01-28 19:14:19 +01:00
handle exception when output is missing
This commit is contained in:
parent
f8fc61e9bd
commit
f71240c9a6
|
|
@ -187,7 +187,7 @@ class AudioWriter(object):
|
|||
try:
|
||||
for line in decoder.stdout:
|
||||
self.outputWriter.send((self.profile, job.freq, line))
|
||||
except OSError:
|
||||
except (OSError, AttributeError):
|
||||
decoder.stdout.flush()
|
||||
# TODO uncouple parsing from the output so that decodes can still go to the map and the spotters
|
||||
logger.debug("output has gone away while decoding job.")
|
||||
|
|
|
|||
Loading…
Reference in a new issue