Improved error logging in WsAgentURLProvider (#11485)
Signed-off-by: Dmytro Kulieshov <dkuliesh@redhat.com>6.19.x
parent
923b0b7a48
commit
116cdc5f51
|
|
@ -69,8 +69,8 @@ public class WsAgentURLProvider implements Provider<String> {
|
|||
}
|
||||
}
|
||||
} catch (ApiException | IOException ex) {
|
||||
LOG.warn(ex.getLocalizedMessage());
|
||||
throw new RuntimeException("Failed to configure wsagent endpoint");
|
||||
LOG.error(ex.getLocalizedMessage());
|
||||
throw new RuntimeException("Failed to configure wsagent endpoint", ex);
|
||||
}
|
||||
}
|
||||
return cachedAgentUrl;
|
||||
|
|
|
|||
Loading…
Reference in New Issue