summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main/java/org/onap/dcae/inventory/exceptions/mappers/DBIExceptionMapper.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/onap/dcae/inventory/exceptions/mappers/DBIExceptionMapper.java b/src/main/java/org/onap/dcae/inventory/exceptions/mappers/DBIExceptionMapper.java
index 016ac27..cd348c1 100644
--- a/src/main/java/org/onap/dcae/inventory/exceptions/mappers/DBIExceptionMapper.java
+++ b/src/main/java/org/onap/dcae/inventory/exceptions/mappers/DBIExceptionMapper.java
@@ -60,7 +60,7 @@ public class DBIExceptionMapper<T extends DBIException> implements ExceptionMapp
InventoryDAOManager.getInstance().initialize();
clientMessage.append(" Connection has been successfully reset. Please try again.");
} catch(Exception e) {
- LOG.error(String.format("Failed to re-initialize database connection: %s", e.getMessage()));
+ LOG.error(String.format("Failed to re-initialize database connection: %s", e));
clientMessage.append(" Connection reset attempt has failed. Please try again soon.");
}