@ -141,8 +141,7 @@ async function onMessage(socket, payload) {
});
}
} catch (err) {
const event = JSON.stringify({ eventName, params });
winston.error(event + '\n' + (err.stack ? err.stack : err.message));
winston.error(eventName + '\n' + (err.stack ? err.stack : err.message));
callback({ message: err.message });