Skip to content

Commit

Permalink
фикс логгирования
Browse files Browse the repository at this point in the history
  • Loading branch information
maxcom committed Oct 5, 2023
1 parent da51c10 commit c4eb95e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/scala/ru/org/linux/topic/TopicController.scala
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,8 @@ class TopicController(sectionService: SectionService, topicDao: TopicDao, prepar
}

if (showDeleted || topic.isDeleted) {
logger.info(s"View deleted ${topic.getLink} by ${currentUserOpt.map(_.user.getNick)} (deleted = ${topic.isDeleted})")
logger.info(s"View deleted ${topic.getLink} by " +
s"${currentUserOpt.map(_.user.getNick).getOrElse("<none>")} (deleted = ${topic.isDeleted})")
}

params.put("showDeleted", Boolean.box(showDeleted))
Expand Down

0 comments on commit c4eb95e

Please sign in to comment.