Fix sonar build (#1736)
* fix sonar build Signed-off-by: TRS1SF3 <Stanislav.Trailov@bosch.io> * throw illegal state instead of only logging Signed-off-by: TRS1SF3 <Stanislav.Trailov@bosch.io> --------- Signed-off-by: TRS1SF3 <Stanislav.Trailov@bosch.io>
This commit is contained in:
committed by
GitHub
parent
e69c1defdf
commit
deb524d438
@@ -54,7 +54,7 @@ public class Amqp {
|
||||
try {
|
||||
connectionFactory.getRabbitConnectionFactory().useSslProtocol();
|
||||
} catch (NoSuchAlgorithmException | KeyManagementException e) {
|
||||
log.error("Failed to enable ssl ... Reason : ", e);
|
||||
throw new IllegalStateException("Failed to enable ssl!", e);
|
||||
}
|
||||
}
|
||||
connectionFactory.setUsername(
|
||||
|
||||
Reference in New Issue
Block a user