Specify an error to appease the linter

This commit is contained in:
Travis Ralston 2020-07-28 21:46:45 -06:00
parent 4969cfe9de
commit e4d8cca861

View file

@ -46,7 +46,7 @@ export default abstract class SettingsHandler {
*/
public setValue(settingName: string, roomId: string, newValue): Promise<void> {
console.error("Invalid operation: setValue was not overridden");
return Promise.reject();
return Promise.reject(new Error("Invalid operation: setValue was not overridden"));
}
/**