PadMessageHandler: Stop the USER_CHANGES timer on exception

pull/5285/head
Richard Hansen 2021-11-16 03:46:27 -05:00
parent 97e382e5d2
commit a052580bd1
1 changed files with 2 additions and 2 deletions

View File

@ -676,9 +676,9 @@ const handleUserChanges = async (socket, message) => {
stats.meter('failedChangesets').mark();
messageLogger.warn(`Failed to apply USER_CHANGES from author ${thisSession.author} ` +
`(socket ${socket.id}) on pad ${thisSession.padId}: ${err.stack || err}`);
}
} finally {
stopWatch.end();
}
};
exports.updatePadClients = async (pad) => {