com.jimuwd.xian.registry-proxy 1.1.6 → 1.1.7

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.
@@ -294,7 +294,7 @@ async function writeResponseToDownstreamClient(registryInfo, targetUrl, resToDow
294
294
  }
295
295
  }
296
296
  catch (err) {
297
- logger.error('Failed to write upstreamResponse:', err);
297
+ logger.error('Failed to transfer upstream response to downstream client', err);
298
298
  if (!resToDownstreamClient.headersSent) {
299
299
  resToDownstreamClient.writeHead(502).end('Internal Server Error');
300
300
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "com.jimuwd.xian.registry-proxy",
3
- "version": "1.1.6",
3
+ "version": "1.1.7",
4
4
  "description": "A lightweight npm registry proxy with fallback support",
5
5
  "type": "module",
6
6
  "main": "dist/server/index.js",