Better log

pull/21833/head
Luke Barnard 2016-09-08 17:38:51 +01:00
parent ce68a5bfc8
commit f605b172a7
1 changed files with 1 additions and 1 deletions

View File

@ -196,7 +196,7 @@ function setBotPower(event, roomId, userId, level) {
return;
}
console.log(`Received request to set power level for bot ${userId} in room ${roomId}.`);
console.log(`Received request to set power level to ${level} for bot ${userId} in room ${roomId}.`);
const client = MatrixClientPeg.get();
if (!client) {
sendError(event, "You need to be logged in.");