suttacentral-api 2.15.5 → 2.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/sc-api.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "suttacentral-api",
3
- "version": "2.15.5",
3
+ "version": "2.16.0",
4
4
  "description": "SuttaCentral API cached proxy",
5
5
  "main": "index.js",
6
6
  "directories": {
package/src/sc-api.js CHANGED
@@ -182,7 +182,7 @@
182
182
  httpMonitor--;
183
183
  reject(e);
184
184
  }).on('timeout', (e) => {
185
- that.warn(`loadJsonRestMaybe(TIMEOUT)`, e.message);
185
+ that.warn(`loadJsonRestMaybe(TIMEOUT)`, e&&e.message);
186
186
  req.abort();
187
187
  reject(e);
188
188
  });