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

chore: ignore the error of getLastUser #125

Merged
merged 1 commit into from
Nov 28, 2024
Merged

Conversation

zsien
Copy link
Contributor

@zsien zsien commented Nov 28, 2024

避免首次开机时报错

Bug: https://pms.uniontech.com/bug-view-282785.html

@zsien zsien requested a review from a team November 28, 2024 07:47
@deepin-ci-robot
Copy link

deepin pr auto review

关键摘要:

  • 在错误处理中,将错误记录为警告,但返回了nil,这可能掩盖了潜在的问题。
  • 没有对loadUserConfig函数的返回值进行错误检查,可能会导致配置加载失败时程序继续执行。

是否建议立即修改:

@deepin-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: zsien

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@zsien zsien merged commit d1fb4aa into linuxdeepin:master Nov 28, 2024
16 of 17 checks passed
@zsien zsien deleted the zs/fix/error branch November 28, 2024 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants