Changed error print into logger.warning

This commit is contained in:
sebastiankloth 2022-11-04 11:17:53 +01:00
parent 8cdfb7a0dd
commit e321c94c41

View File

@ -162,7 +162,7 @@ def shifted_correlation(function, frames, selector=None, segments=10,
selector=selector),
start_frames))
except Exception:
print("Something went wrong!")
logger.warning("Something went wrong while calculating the shifted correlation!")
finally:
pool.terminate()
pool.restart()