Changed error print into logger.warning
This commit is contained in:
parent
8cdfb7a0dd
commit
e321c94c41
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user