mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2025-09-10 12:26:16 -04:00
Output the URL in the log when the file is not found
This commit is contained in:
parent
5f4fc77258
commit
a237a31d23
@ -121,7 +121,7 @@ public abstract class FetchTask<T> extends Task<T> {
|
||||
continue;
|
||||
}
|
||||
} else if (responseCode / 100 == 4) {
|
||||
throw new FileNotFoundException();
|
||||
throw new FileNotFoundException(url.toString());
|
||||
} else if (responseCode / 100 != 2) {
|
||||
throw new ResponseCodeException(url, responseCode);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user