aboutsummaryrefslogtreecommitdiff
path: root/cmd/mpd-scrobbler
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/mpd-scrobbler')
-rw-r--r--cmd/mpd-scrobbler/main.go5
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) {