com.jimuwd.xian.registry-proxy 1.0.111 → 1.0.112
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.
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -400,7 +400,7 @@ export async function startProxyServer(proxyConfigPath, localYarnConfigPath, glo
|
|
|
400
400
|
const promisedServer = new Promise((resolve, reject) => {
|
|
401
401
|
const errHandler = (err) => {
|
|
402
402
|
if (err.code === 'EADDRINUSE') {
|
|
403
|
-
logger.error(`Port ${port} is in use, please specify a different port or free it
|
|
403
|
+
logger.error(`Port ${port} is in use, please specify a different port or free it.`, err);
|
|
404
404
|
process.exit(1);
|
|
405
405
|
}
|
|
406
406
|
logger.error('Server error:', err);
|