This commit is contained in:
2025-11-25 15:19:46 +01:00
parent baa9f3c9b5
commit af3149cc76

View File

@@ -94,8 +94,8 @@ def cleanSharedmemory(fp):
Log(LogLevel.INFO, 'Cleaning up shared memory', fp)
try:
p = subprocess.run(['sls_detector_get', 'free'], stdout=fp, stderr=fp)
except:
raise RuntimeException('Could not free shared memory')
except Exception as e:
raise RuntimeException(f'Could not free shared memory: {str(e)}')
def cleanup(fp):