mirror of
https://github.com/element-hq/element-web
synced 2024-11-24 02:05:45 +03:00
Specify an error to appease the linter
This commit is contained in:
parent
4969cfe9de
commit
e4d8cca861
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue