ykozxy / bangumi-sync

A script that automatically syncs all anime collections from bgm.tv to Anilist. | 一个自动同步所有 bgm.tv 动画收视记录到 Anilist 的脚本。
MIT License
49 stars 6 forks source link

fix: increase retry count and enhance error logging in Anilist client #8

Closed ykozxy closed 5 months ago

ykozxy commented 5 months ago

The amount of retry attempts in the Anilist client has been increased from 5 to 7 and the initial delay has been doubled from 250ms to 1s. In addition, more detailed error information is now being logged when a network error occurs during query execution, including the response header and data if any.