From 2bc95fcafd3d79cb7b1516f7d6059b9c7dbedb94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sami=20M=C3=A4kinen?= Date: Mon, 26 Aug 2024 16:27:50 +0300 Subject: [PATCH] Treat proxy error as non-audited error --- .../fi/nls/oskari/control/layer/GetLayerTileHandler.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/control-base/src/main/java/fi/nls/oskari/control/layer/GetLayerTileHandler.java b/control-base/src/main/java/fi/nls/oskari/control/layer/GetLayerTileHandler.java index c1bebab1d..393e94b55 100755 --- a/control-base/src/main/java/fi/nls/oskari/control/layer/GetLayerTileHandler.java +++ b/control-base/src/main/java/fi/nls/oskari/control/layer/GetLayerTileHandler.java @@ -154,13 +154,13 @@ public void handleAction(final ActionParameters params) // just throw it as is if we already handled it throw e; } catch (Exception e) { - LOG.info("Url in proxy error was:", url); - throw new ActionParamsException("Couldn't proxy request to actual service", e.getMessage(), e); + LOG.debug("Url in proxy error was:", url); + throw new ActionCommonException("Couldn't proxy request to actual service: " + e.getMessage(), e); } finally { - if(actionTimer != null) { + if (actionTimer != null) { actionTimer.stop(); } - if(con != null) { + if (con != null) { con.disconnect(); } }