blindsidenetworks / scalelite

Scalable load balancer for BigBlueButton.
GNU Affero General Public License v3.0
470 stars 247 forks source link

Raise a specific error when a required server tag is not available #1091

Closed Ithanil closed 3 months ago

Ithanil commented 3 months ago

This PR introduces a dedicated error / message key for when a "required" server tag is not available.

Description

When working on the frontend support for tagged servers, it became apparent that the ability to "require" a server tag can be problematic when the user does not get a specific error message when the required tag is in fact not available. To allow a specific error message in the frontend, a specific message key (instead of the generic "internalError") for this kind of event is needed in the response from SL.