diff options
| -rw-r--r-- | api.js | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -54,6 +54,7 @@ module.exports.request = async (url, options, logger) => { error: response? response.body : err }); fs.appendFileSync(ERROR_LOG, JSON.stringify(err) + "\n"); + throw err; // rethrow for services to catch and handle } logger.warn("not found", { uri: url, |
