Change to debug more possible long logs

This commit is contained in:
cruizba 2021-04-29 21:28:53 +02:00
parent 6fa2487ee0
commit b7da22180c

View File

@ -91,9 +91,9 @@ export abstract class EventDispatcher {
onceAux(type: string, message: string, handler: (event: Event) => void): EventDispatcher {
const arrowHandler = event => {
if (event) {
logger.info(message, event);
logger.debug(message, event);
} else {
logger.info(message);
logger.debug(message);
}
handler(event);
// Remove handler from map after first and only execution