diff options
| author | Franck Cuny <franck@fcuny.net> | 2025-08-29 09:28:01 -0700 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2025-08-29 09:28:01 -0700 |
| commit | 4c8a488e664c9fa05496b0195201fb6261de92e6 (patch) | |
| tree | 4ac1f79ca61b26c0ac5498ac14ee89907f6781d4 /cmd | |
| parent | fix import paths for mpd-scrobbler (diff) | |
| download | x-4c8a488e664c9fa05496b0195201fb6261de92e6.tar.gz | |
check returned error when running the scrobbler
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/mpd-scrobbler/main.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cmd/mpd-scrobbler/main.go b/cmd/mpd-scrobbler/main.go index cce441d..30c3e5c 100644 --- a/cmd/mpd-scrobbler/main.go +++ b/cmd/mpd-scrobbler/main.go @@ -44,7 +44,10 @@ func main() { } }() - s.Run() + err = s.Run() + if err != nil { + log.Fatalf("failed to run the scrobbler: %v", err) + } } func getDbPath() (string, error) { |
