aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
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 874dc4d..7887138 100644
--- a/main.go
+++ b/main.go
@@ -1586,7 +1586,7 @@ func GetCollectionFromID(id string) Collection {
resp, err := http.DefaultClient.Do(req)
if err != nil {
- fmt.Println("could not get collection from " + id)
+ CheckError(err, "could not get collection from " + id)
return nColl
}