Pārlūkot izejas kodu

set error if interrupted

tags/v0.1.6
Jonathan Cobb pirms 4 gadiem
vecāks
revīzija
c2302d86f9
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. +1
    -0
      bubble-server/src/main/java/bubble/service/dbfilter/EntityIterator.java

+ 1
- 0
bubble-server/src/main/java/bubble/service/dbfilter/EntityIterator.java Parādīt failu

@@ -48,6 +48,7 @@ public abstract class EntityIterator implements Iterator<Identifiable> {
try {
return queue.take();
} catch (InterruptedException e) {
error.set(e);
return die("next: queue.take interrupted");
}
}


Notiek ielāde…
Atcelt
Saglabāt