Fix the %s in logs

Finally
pull/21833/head
David Baker 2021-02-08 14:47:03 +00:00
parent 6d01de3bfb
commit c77f0bcfa4
1 changed files with 6 additions and 6 deletions

View File

@ -583,7 +583,7 @@ export default class CallHandler {
return source;
});
} else {
console.error("Unknown conf call type: %s", type);
console.error("Unknown conf call type: " + type);
}
}
@ -617,7 +617,7 @@ export default class CallHandler {
const room = MatrixClientPeg.get().getRoom(payload.room_id);
if (!room) {
console.error("Room %s does not exist.", payload.room_id);
console.error(`Room ${payload.room_id} does not exist.`);
return;
}
@ -628,7 +628,7 @@ export default class CallHandler {
});
return;
} else if (members.length === 2) {
console.info("Place %s call in %s", payload.type, payload.room_id);
console.info(`Place ${payload.type} call in ${payload.room_id}`);
this.placeCall(payload.room_id, payload.type, payload.local_element, payload.remote_element);
} else { // > 2
@ -643,17 +643,17 @@ export default class CallHandler {
}
break;
case 'place_conference_call':
console.info("Place conference call in %s", payload.room_id);
console.info("Place conference call in " + payload.room_id);
Analytics.trackEvent('voip', 'placeConferenceCall');
CountlyAnalytics.instance.trackStartCall(payload.room_id, payload.type === PlaceCallType.Video, true);
this.startCallApp(payload.room_id, payload.type);
break;
case 'end_conference':
console.info("Terminating conference call in %s", payload.room_id);
console.info("Terminating conference call in " + payload.room_id);
this.terminateCallApp(payload.room_id);
break;
case 'hangup_conference':
console.info("Leaving conference call in %s", payload.room_id);
console.info("Leaving conference call in "+ payload.room_id);
this.hangupCallApp(payload.room_id);
break;
case 'incoming_call':