diff --git a/owrx/audio/wav.py b/owrx/audio/wav.py index cccdc96..b40c40c 100644 --- a/owrx/audio/wav.py +++ b/owrx/audio/wav.py @@ -91,7 +91,11 @@ class AudioWriter(object): pid=id(profile), timestamp=datetime.utcnow().strftime(profile.getFileTimestampFormat()), ) - os.link(file.getFileName(), filename) + try: + os.link(file.getFileName(), filename) + except OSError: + logger.warning("Error while linking job files") + continue job = QueueJob(profile, self.outputWriter, filename, self.dsp.get_operating_freq()) try: