-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pick out useful commits from last year's hotfixes #219
Conversation
… more spammy than useful
ab8cdbe
to
257dca0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems reasonable to me!
@@ -60,9 +61,12 @@ export async function doAuditoriumResolveAction( | |||
? await conference.getInviteTargetsForAuditorium(realAud) | |||
: await conference.getModeratorsForAuditorium(realAud); | |||
const resolvedAudPeople = audPeople.map(p => allPossiblePeople.find(b => p.id === b.person.id)); | |||
if (resolvedAudPeople.some(p => !p)) throw new Error(`Failed to resolve all targets for auditorium ${audId}`); | |||
if (resolvedAudPeople.some(p => !p)) { | |||
logMessage(LogLevel.WARN, "people", `Failed to resolve all targets for auditorium ${audId}. Inviting others anyway.`, client); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure what the difference between logMessage
and LogService
(i.e. LogService.warn
) which I see being used a lot but if it works, it works :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
logMessage
sends a message to the room, LogService.xxx
is for the program's logs
I think
supersedes: #180, #181
This is a cherrypick and fixup of any useful-looking fixes from those two PRs.
From memory, most of these were done on my own without any other review, some of them in response to actual problems on the day, but we did manage to run a conference with them so fingers crossed they had some practical testing...
Commit-by-commit review makes the most sense here.