mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
Better warning message for when error occurs downloading file.
This commit is contained in:
@@ -77,6 +77,9 @@ public class FileDownloader implements Runnable {
|
||||
if (downloadFile(url, dest, progressMonitor)) {
|
||||
libFile = dest;
|
||||
}
|
||||
} catch (FileNotFoundException e) {
|
||||
Base.showWarning("Trouble downloading file",
|
||||
"The file was not found on the server.\n", null);
|
||||
} catch (IOException e) {
|
||||
Base.showWarning("Trouble downloading file",
|
||||
"An error occured while downloading the file:\n"
|
||||
|
||||
Reference in New Issue
Block a user