Skip to content

Commit

Permalink
More logging
Browse files Browse the repository at this point in the history
  • Loading branch information
silvacb committed Oct 17, 2023
1 parent 9a1eb93 commit 6f8327d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/services/FaciaPress.scala
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ class FaciaPress(val faciaPressQueue: FaciaPressQueue, val configAgent: ConfigAg

lazy val livePress =
if (pressCommand.live) {
logger.info("FaciaPress live press function...")
val fut = Future.traverse(paths)(path => faciaPressQueue.enqueue(PressJob(FrontPath(path), Live, forceConfigUpdate = pressCommand.forceConfigUpdate)))
fut.onComplete {
case Failure(error) =>
Expand All @@ -100,6 +101,7 @@ class FaciaPress(val faciaPressQueue: FaciaPressQueue, val configAgent: ConfigAg

lazy val draftPress =
if (pressCommand.draft) {
logger.info("FaciaPress draft press function...")
val fut = Future.traverse(paths)(path => faciaPressQueue.enqueue(PressJob(FrontPath(path), Draft, forceConfigUpdate = pressCommand.forceConfigUpdate)))
fut.onComplete {
case Failure(error) =>
Expand Down

0 comments on commit 6f8327d

Please sign in to comment.