Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: add logs fro aggregate errors (#672)
> add logs for sync tasks with the upstream registry errors [ref](https://cdn.npmmirror.com/packages/%40eggjs/tegg-schedule-plugin/syncs/2024/04/171901-661fac1a613c4b7bd1e015e3.log) * 📒 Log the corresponding errors for AggregateError -------------- > 对 upstream registry 创建同步任务失败时,添加日志信息 [ref](https://cdn.npmmirror.com/packages/%40eggjs/tegg-schedule-plugin/syncs/2024/04/171901-661fac1a613c4b7bd1e015e3.log) * 📒 针对 AggregateError 打印对应 errors <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Documentation** - Updated comments in the package synchronization service to include information about handling `AggregateError` exceptions. - **New Features** - Added a retry mechanism with a limit of 3 attempts in the HTTP requests for the NPMRegistry class. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
- Loading branch information