in src/helpers/sheets-helper.js [24:42]
get(url) {
try {
var response = UrlFetchApp.fetch(url);
return {
statusCode: response.getResponseCode(),
body: response.getContentText(),
};
} catch (e) {
console.error('There was an error while fetching ' + url);
console.error(e);
return {
statusCode: e.code || 500,
statusText: e.message,
error: e
}
}
}