Skip to content

Commit

Permalink
removed translated log msgs
Browse files Browse the repository at this point in the history
Signed-off-by: Sadiyah Faruk <sf2ne@virginia.edu>
  • Loading branch information
sf2ne committed Aug 18, 2021
1 parent cdc9c4a commit 7166129
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/scala/com/horizon/exchangeapi/ExchangeApiApp.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}

Expand Down

0 comments on commit 7166129

Please sign in to comment.