Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
X
ximperconf
  • Project
    • Project
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 1
    • Merge Requests 1
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Registry
    • Registry
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Ximper Linux
  • ximperconf
  • Merge Requests
  • !1

Open
Opened Jan 05, 2026 by Vitaly Lipatov@lav 
  • Report abuse
Report abuse

fix: improve error handling and prevent nil pointer dereference

Изменения

  • hyprland/actions.go: добавлен отсутствующий return после проверки на nil
  • repo/actions.go: заменён os.Exit на возврат ошибки
  • config/dbus.go: возврат ошибки вместо log.Fatalf
  • hyprland/keyboard-actions.go: добавлена проверка DBusConn на nil
  • main.go: graceful обработка ошибки InitDBus
  • system/commands.go: информативное сообщение об ошибке

Тестирование

  • go build ./... — успешно
  • go vet ./... — без замечаний

Check out, review, and merge locally

Step 1. Fetch and check out the branch for this merge request

git fetch origin
git checkout -b fix/code-review-issues origin/fix/code-review-issues

Step 2. Review the changes locally

Step 3. Merge the branch and fix any conflicts that come up

git checkout master
git merge --no-ff fix/code-review-issues

Step 4. Push the result of the merge to GitLab

git push origin master

Note that pushing to GitLab requires write access to this repository.

Tip: You can also checkout merge requests locally by following these guidelines.

  • Discussion 0
  • Commits 1
  • Changes 6
{{ resolvedDiscussionCount }}/{{ discussionCount }} {{ resolvedCountText }} resolved
  • Write
  • Preview
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment
Assignee
No assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
0
Labels
None
Assign labels
  • View project labels
Reference: ximperlinux/ximperconf!1