Use new Error construct and reverted and oversight
Forgot to revert searchbyid for Mobygames
This commit is contained in:
parent
552e921d53
commit
08ca5e122f
2 changed files with 3 additions and 3 deletions
|
|
@ -29,7 +29,7 @@ export class OMDbAPI extends APIModel {
|
|||
console.log(`MDB | api "${this.apiName}" queried by Title`);
|
||||
|
||||
if (!this.plugin.settings.OMDbKey) {
|
||||
console.error(Error(`MDB | API key for ${this.apiName} missing.`));
|
||||
console.error(new Error(`MDB | API key for ${this.apiName} missing.`));
|
||||
return [];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue