catch exception and replace with a debug message, refs #22
This commit is contained in:
		| @@ -184,8 +184,13 @@ class AudioWriter(object): | |||||||
|             cwd=self.tmp_dir, |             cwd=self.tmp_dir, | ||||||
|             close_fds=True, |             close_fds=True, | ||||||
|         ) |         ) | ||||||
|  |         try: | ||||||
|             for line in decoder.stdout: |             for line in decoder.stdout: | ||||||
|                 self.outputWriter.send((job.freq, line)) |                 self.outputWriter.send((job.freq, line)) | ||||||
|  |         except OSError: | ||||||
|  |             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.") | ||||||
|         try: |         try: | ||||||
|             rc = decoder.wait(timeout=10) |             rc = decoder.wait(timeout=10) | ||||||
|             if rc != 0: |             if rc != 0: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Jakob Ketterl
					Jakob Ketterl