linagora / Twake

Twake is a secure open source collaboration platform to improve organizational productivity.
https://twake.app
GNU Affero General Public License v3.0
1.79k stars 193 forks source link

Cannot deploy twake-node without configuring a search service #2690

Closed invakid404 closed 1 year ago

invakid404 commented 1 year ago

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