diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2023-12-26 03:36:06 +0100 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2023-12-26 03:36:06 +0100 |
commit | 615860362a39b769f75cf45a8d0e58d3e218e72a (patch) | |
tree | 248d99b3ece62fea8338122446d2f81972628115 /main.go | |
parent | 8087042509ae7b09369d42e361ca73bda0c7c300 (diff) | |
download | gallery-615860362a39b769f75cf45a8d0e58d3e218e72a.tar.gz gallery-615860362a39b769f75cf45a8d0e58d3e218e72a.tar.xz gallery-615860362a39b769f75cf45a8d0e58d3e218e72a.zip |
Don't fail entirely on tag import errors
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1855,7 +1855,7 @@ func cmdTag(args []string) error { return nil } if _, err := stmt.Exec(sha1, spaceID, tag, weight, weight); err != nil { - return fmt.Errorf("%s: %s", sha1, err) + log.Printf("%s: %s\n", sha1, err) } } if err := scanner.Err(); err != nil { |