Skip to content

Commit

Permalink
fix(applications): Return on failing to parse .desktop file
Browse files Browse the repository at this point in the history
  • Loading branch information
pdf committed Mar 9, 2024
1 parent 86d25a4 commit d90d65e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/applications/applications.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ func (a *AppCache) cacheWalk(path string, d fs.DirEntry, err error) error {
app, err := newAppInfo(p)
if err != nil {
a.log.Error(`Failed parsing desktop file`, `file`, p, `err`, err)
return nil
}

name := strings.TrimSuffix(d.Name(), `.desktop`)
Expand Down

0 comments on commit d90d65e

Please sign in to comment.