diff --git a/planetiler-core/src/main/java/com/onthegomap/planetiler/util/Downloader.java b/planetiler-core/src/main/java/com/onthegomap/planetiler/util/Downloader.java index 6a257ddf5f..c57c65b408 100644 --- a/planetiler-core/src/main/java/com/onthegomap/planetiler/util/Downloader.java +++ b/planetiler-core/src/main/java/com/onthegomap/planetiler/util/Downloader.java @@ -205,7 +205,7 @@ CompletableFuture downloadIfNecessary(ResourceToDownload resourceToDownloa LOGGER.info("Finished downloading {} to {}", resourceToDownload.url, resourceToDownload.output); } catch (Exception e) { LOGGER.error("Error downloading {} to {}", resourceToDownload.url, resourceToDownload.output, e); - throw e; + throw new IOException("Error downloading " + resourceToDownload.url, e); } finally { FileUtils.delete(tmpPath); }