- .then(response => response.json())
- .then((jsonValue) => {
- console.log('JSON response for info: ', jsonValue);
+ .then(function(response) {return response.json();})
+ .then(function(jsonValue) {
var msg = 'Error fetching book details via URL: ' + url + ': ' + err;
console.log(msg, err.stack);
report(msg);
var msg = 'Error fetching book details via URL: ' + url + ': ' + err;
console.log(msg, err.stack);
report(msg);