mirror of https://github.com/vector-im/riot-web
Specify an error to appease the linter
parent
4969cfe9de
commit
e4d8cca861
|
@ -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"));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue