linagora/Twake

Cannot deploy twake-node without configuring a search service

invakid404 opened this issue · 0 comments

Describe the bug
When trying to deploy twake-node without configuring a search service, a call to a non-existent logger method logger.warning is made, which crashes the entire application.

To Reproduce
Steps to reproduce the behavior:

  1. Use docker-compose to deploy twake-node
  2. Make sure no search service is configured
  3. docker-compose up
  4. Observe the error

Expected behavior
logger.warning should be logger.warn instead.

Screenshots
N/A

Additional context
N/A