diff --git a/libresonic-main/src/main/java/org/libresonic/player/service/NetworkService.java b/libresonic-main/src/main/java/org/libresonic/player/service/NetworkService.java index f470171c..2cc64120 100644 --- a/libresonic-main/src/main/java/org/libresonic/player/service/NetworkService.java +++ b/libresonic-main/src/main/java/org/libresonic/player/service/NetworkService.java @@ -46,7 +46,7 @@ public class NetworkService { try { uri = calculateProxyUri(request); } catch (Exception e) { - LOG.debug("Could not calculate proxy uri", e); + LOG.debug("Could not calculate proxy uri: " + e.getMessage()); uri = calculateNonProxyUri(request); } @@ -54,7 +54,7 @@ public class NetworkService { LOG.debug("Calculated base url to " + baseUrl); return baseUrl; } catch (MalformedURLException | URISyntaxException e) { - throw new RuntimeException("Could not calculate base url", e); + throw new RuntimeException("Could not calculate base url: " + e.getMessage()); } }