Skip to content

Commit

Permalink
fix(linux): 🔊 better warning message when app sensors cannot run
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuar committed Apr 15, 2024
1 parent 9e93473 commit c640bac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/linux/apps/apps.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func Updater(ctx context.Context) chan sensor.Details {
portalDest := linux.FindPortal()
if portalDest == "" {
log.Warn().
Msg("Unsupported or unknown portal. App sensors will not run.")
Msg("Unable to monitor for active applications. No app tracking available.")
close(sensorCh)
return sensorCh
}
Expand Down Expand Up @@ -59,7 +59,7 @@ func Updater(ctx context.Context) chan sensor.Details {
AddWatch(ctx)
if err != nil {
log.Debug().Caller().Err(err).
Msg("Failed to create active app DBus watch.")
Msg("Failed to create active app D-Bus watch.")
close(sensorCh)
}
go func() {
Expand Down

0 comments on commit c640bac

Please sign in to comment.