Skip to content

Commit

Permalink
Merge pull request #1066 from ZakarFin/ignore-proxy-as-common-err
Browse files Browse the repository at this point in the history
Treat proxy error as common error
  • Loading branch information
ZakarFin authored Aug 27, 2024
2 parents c72091c + 2bc95fc commit 9d3cfdb
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
}
Expand Down

0 comments on commit 9d3cfdb

Please sign in to comment.