aboutsummaryrefslogtreecommitdiffstats
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 965953f..3292d60 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) {
- errorLogger.error(String.format("Failed to re-initialize database connection: %s", e.getMessage()));
+ errorLogger.error(String.format("Failed to re-initialize database connection: %s", e));
clientMessage.append(" Connection reset attempt has failed. Please try again soon.");
}