Specify an error to appease the linter

pull/21833/head
Travis Ralston 2020-07-28 21:46:45 -06:00
parent 4969cfe9de
commit e4d8cca861
1 changed files with 1 additions and 1 deletions

View File

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