Skip to content

Commit

Permalink
Added few error loggers
Browse files Browse the repository at this point in the history
  • Loading branch information
VOSID8 committed Apr 1, 2024
1 parent 0feaa1a commit 4c39721
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ scaladex.log
.metals/
**/project/metals.sbt
.bsp/
.vscode
2 changes: 1 addition & 1 deletion project/Elasticsearch.scala
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ object Elasticsearch extends AutoPlugin {
container.getFirstMappedPort()
} catch {
case e: Throwable =>
logger.error("Error starting Elasticsearch container:", e)
logger.error(s"Error starting Elasticsearch container: {$e}")
container.stop()
throw e
}
Expand Down
2 changes: 1 addition & 1 deletion project/Postgres.scala
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ object Postgres extends AutoPlugin {
container.getFirstMappedPort()
} catch {
case e: Throwable =>
logger.error("Error starting PostgreSQL container:", e)
logger.error(s"Error starting PostgreSQL container: {$e}")
container.close()
throw e
}
Expand Down

0 comments on commit 4c39721

Please sign in to comment.