Skip to content

Commit e4559fd

Browse files
committed
Throw an error in checktask when a task failed
1 parent 284d17a commit e4559fd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/threadtasks.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ end
7171
t = TASKS[tid]
7272
if istaskfailed(t)
7373
initialize_task(tid)
74-
return true
74+
throw(TaskFailedException(t))
7575
end
7676
yield()
7777
false
@@ -90,4 +90,3 @@ end
9090
end
9191
false
9292
end
93-

0 commit comments

Comments
 (0)