adjust throwing exception
This commit is contained in:
@@ -119,7 +119,7 @@ public class SeaweedRead {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (data == null) {
|
if (data == null && lastException != null) {
|
||||||
throw lastException;
|
throw lastException;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user