openfun / joanie

👛 A headless ERP for education to manage course enrollment/subscription, payment and certificates delivery.
MIT License
20 stars 2 forks source link

🔇(moodle) remove error logs when user is not found #759

Closed jbpenrath closed 3 months ago

jbpenrath commented 3 months ago

Purpose

Each time a user is not found on Moodle, a logger.error message is sent. That means that for all new users, an event will be sent that is weird. In order to fix that, we decrease the log level to info. In this way, this log will be bound to an error event if needed.