adjust throwing exception

This commit is contained in:
Chris Lu 2020-10-10 01:03:04 -07:00
parent 00a75d7c99
commit 6fc272f913

View file

@ -119,7 +119,7 @@ public class SeaweedRead {
}
}
if (data == null) {
if (data == null && lastException != null) {
throw lastException;
}