From 716612982bdaeb13c7f19b3ee12da097a4b74ab8 Mon Sep 17 00:00:00 2001 From: Sadiyah Faruk Date: Wed, 18 Aug 2021 12:06:40 -0400 Subject: [PATCH] removed translated log msgs Signed-off-by: Sadiyah Faruk --- src/main/scala/com/horizon/exchangeapi/ExchangeApiApp.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/scala/com/horizon/exchangeapi/ExchangeApiApp.scala b/src/main/scala/com/horizon/exchangeapi/ExchangeApiApp.scala index 3733058f..b423454f 100644 --- a/src/main/scala/com/horizon/exchangeapi/ExchangeApiApp.scala +++ b/src/main/scala/com/horizon/exchangeapi/ExchangeApiApp.scala @@ -283,10 +283,10 @@ object ExchangeApiApp extends App catch { // Handle db problems case timeout: java.util.concurrent.TimeoutException => - logger.error("Error: " + ExchMsg.translate("db.timeout.upgrading", timeout.getMessage)) + logger.error("Error: DB timed out while upgrading it: "+ timeout.getMessage) system.terminate() case other: Throwable => - logger.error("Error: " + ExchMsg.translate("db.exception.upgrading", other.getMessage)) + logger.error("Error: while upgrading the DB, the DB threw exception: "+ other.getMessage) system.terminate() }