Better log
This commit is contained in:
parent
ce68a5bfc8
commit
f605b172a7
1 changed files with 1 additions and 1 deletions
|
@ -196,7 +196,7 @@ function setBotPower(event, roomId, userId, level) {
|
||||||
return;
|
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();
|
const client = MatrixClientPeg.get();
|
||||||
if (!client) {
|
if (!client) {
|
||||||
sendError(event, "You need to be logged in.");
|
sendError(event, "You need to be logged in.");
|
||||||
|
|
Loading…
Reference in a new issue