Skip to content

Commit 807036a

Browse files
committed
ignore attribute error
1 parent f24e444 commit 807036a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/executorlib/task_scheduler/interactive/dependency.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ def _execute_tasks_with_dependencies(
259259
task_dict = None
260260
try:
261261
task_return_dict = executor.return_queue.get_nowait()
262-
except queue.Empty:
262+
except (queue.Empty, AttributeError):
263263
task_return_dict = None
264264
if ( # shutdown the executor
265265
task_dict is not None and "shutdown" in task_dict and task_dict["shutdown"]

0 commit comments

Comments
 (0)