hopefully fix #94
This commit is contained in:
parent
b4d499e0e4
commit
15fc591b83
4 changed files with 16 additions and 6 deletions
|
|
@ -112,7 +112,7 @@ export class OMDbAPI extends APIModel {
|
|||
}
|
||||
|
||||
const result = await fetchData.json();
|
||||
console.debug(result);
|
||||
// console.debug(result);
|
||||
|
||||
if (result.Response === 'False') {
|
||||
throw Error(`MDB | Received error from ${this.apiName}: ${result.Error}`);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue