Don't swallow exception with disk clipboard

This commit is contained in:
Jesse Boyd 2017-08-10 01:19:46 +10:00
parent 195e043f2c
commit 8d9914fafd
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F
1 changed files with 41 additions and 45 deletions

View File

@ -366,7 +366,6 @@ public class DiskOptimizedClipboard extends FaweClipboard implements Closeable {
@Override @Override
public void forEach(final BlockReader task, boolean air) { public void forEach(final BlockReader task, boolean air) {
try {
mbb.force(); mbb.force();
int pos = HEADER_SIZE; int pos = HEADER_SIZE;
IntegerTrio trio = new IntegerTrio(); IntegerTrio trio = new IntegerTrio();
@ -422,9 +421,6 @@ public class DiskOptimizedClipboard extends FaweClipboard implements Closeable {
} }
} }
} }
} catch (Throwable e) {
MainUtil.handleError(e);
}
} }
public int getIndex(int x, int y, int z) { public int getIndex(int x, int y, int z) {