Remove stack trace output
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
This commit is contained in:
@@ -46,7 +46,7 @@ public class NetworkService {
|
|||||||
try {
|
try {
|
||||||
uri = calculateProxyUri(request);
|
uri = calculateProxyUri(request);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
LOG.debug("Could not calculate proxy uri", e);
|
LOG.debug("Could not calculate proxy uri: " + e.getMessage());
|
||||||
uri = calculateNonProxyUri(request);
|
uri = calculateNonProxyUri(request);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -54,7 +54,7 @@ public class NetworkService {
|
|||||||
LOG.debug("Calculated base url to " + baseUrl);
|
LOG.debug("Calculated base url to " + baseUrl);
|
||||||
return baseUrl;
|
return baseUrl;
|
||||||
} catch (MalformedURLException | URISyntaxException e) {
|
} catch (MalformedURLException | URISyntaxException e) {
|
||||||
throw new RuntimeException("Could not calculate base url", e);
|
throw new RuntimeException("Could not calculate base url: " + e.getMessage());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user