aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorPřemysl Janouch <p@janouch.name>2018-11-02 22:56:43 +0100
committerPřemysl Janouch <p@janouch.name>2018-11-02 22:56:43 +0100
commit23683424a62dc7f179592c74294b21d32e2670e7 (patch)
tree60be1826eaabfa2c2b6e7c0162d21761a433ffa9 /main.go
parent33f7405404bc2f648c6e814bbeb5fea0ac62e0d7 (diff)
downloadbbc-on-ice-23683424a62dc7f179592c74294b21d32e2670e7.tar.gz
bbc-on-ice-23683424a62dc7f179592c74294b21d32e2670e7.tar.xz
bbc-on-ice-23683424a62dc7f179592c74294b21d32e2670e7.zip
Show station name even on metadata error
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 8946aa5..1b01bfa 100644
--- a/main.go
+++ b/main.go
@@ -127,7 +127,7 @@ func metaProc(ctx context.Context, name string, out chan<- string) {
for {
meta, err := getMeta(name)
if err != nil {
- current = "Error: " + err.Error()
+ current = name + " - " + err.Error()
interval = 30 * time.Second
} else {
current = meta.title