https://prefect.io logo
Title
p

Pierre Monico

08/01/2022, 11:01 AM
Is it possible that some errors are not caught by Prefect when running multi-threaded code? PS: wasn’t sure if this is the right place to post since #prefect-server was archived.
t

Taylor Curran

08/01/2022, 1:12 PM
Hi Pierre, could you please describe the behavior you are seeing that is causing you to ask this question? To my knowledge, errors should be caught regardless of task runner.
p

Pierre Monico

08/01/2022, 1:21 PM
Well, I have exceptions which I know are raised in one of the modules I import and then make use of in a task. When I run it locally I see the errors in the console. When run on the server, the errors are neither logged to the output nor do they make the task fail.
The exceptions that are raised are part of a multi-thread call (a future to be precise).