mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
adjust throwing exception
This commit is contained in:
parent
00a75d7c99
commit
6fc272f913
|
@ -119,7 +119,7 @@ public class SeaweedRead {
|
|||
}
|
||||
}
|
||||
|
||||
if (data == null) {
|
||||
if (data == null && lastException != null) {
|
||||
throw lastException;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue