aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlawl <github@dumbinter.net>2020-07-19 01:09:46 +0200
committerlawl <github@dumbinter.net>2020-07-19 01:09:46 +0200
commita65e5d28a76d7f0c04003b4af12be21de259389b (patch)
treed63b5f71c17abe769673447ac836eadd16fc216f
parent6db43dcb59b486c9065ad1ab5829b7155291ab90 (diff)
downloadnoisetorch-a65e5d28a76d7f0c04003b4af12be21de259389b.tar.gz
noisetorch-a65e5d28a76d7f0c04003b4af12be21de259389b.zip
Don't swallow the error when connection to pulse fails
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 94829fa..c756fe8 100644
--- a/main.go
+++ b/main.go
@@ -70,7 +70,7 @@ func main() {
ui.paClient = paClient
if err != nil {
- log.Fatalf("Couldn't create pulseaudio client\n")
+ log.Fatalf("Couldn't create pulseaudio client: %v\n", err)
}
go updateNoiseSupressorLoaded(paClient, &ui.noiseSupressorState)