Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在 MultiFilePluginDataStorage.load 失败时,备份数据文件 #2089

Merged
merged 3 commits into from
Jun 13, 2022

Conversation

cssxsh
Copy link
Contributor

@cssxsh cssxsh commented Jun 12, 2022

如果 数据文件出错,比如 手动编辑 AutoLogin.yaml 配置 时错误,或者序列化失败等其他错误
数据文件将会因为定时保存和关闭时的强制保存,被默认配置覆盖

@Karlatemp Karlatemp added t:enhancement 类型: 现有功能上的优化 s:console 子系统: mirai-console labels Jun 12, 2022
@Karlatemp Karlatemp added the z:ready-to-merge 状态: PR 已经可以合并, 正在等待一些安排 label Jun 12, 2022
@Him188 Him188 added this to the 2.12.0-RC milestone Jun 12, 2022
@Him188 Him188 merged commit 2d41a61 into mamoe:dev Jun 13, 2022
cssxsh added a commit to SkyNet1748/mirai that referenced this pull request Jul 20, 2022
* feat: load data failure, backup data file

* feat: load data failure, backup data file

* feat: currentTimeMillis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
s:console 子系统: mirai-console t:enhancement 类型: 现有功能上的优化 z:ready-to-merge 状态: PR 已经可以合并, 正在等待一些安排
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants