summaryrefslogtreecommitdiff
path: root/modules/cache/sqlitestore.go
diff options
context:
space:
mode:
authorPhilipp Tanlak <philipp.tanlak@gmail.com>2023-11-15 16:31:50 +0100
committerPhilipp Tanlak <philipp.tanlak@gmail.com>2023-11-15 23:54:03 +0100
commit94da9293f63e46712b0a890e1e0eab4153fdb3f9 (patch)
treede81e6d00f7e1a5215d18557e772e7f1131d218b /modules/cache/sqlitestore.go
parent3e01902887bdc52e743ef6cec53a5c89cb5637f0 (diff)
Add file download functionality
Diffstat (limited to 'modules/cache/sqlitestore.go')
-rw-r--r--modules/cache/sqlitestore.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/cache/sqlitestore.go b/modules/cache/sqlitestore.go
index 50c8007..778699b 100644
--- a/modules/cache/sqlitestore.go
+++ b/modules/cache/sqlitestore.go
@@ -40,7 +40,7 @@ func (s *SQLiteStore) Get(key string) ([]byte, bool) {
func (s *SQLiteStore) Set(key string, value []byte) {
if _, err := s.db.Exec(`INSERT INTO cache (key, value) VALUES (?, ?)`, key, value); err != nil {
- log.Printf("cache: failed to insert cache key %q: %v\n", key, value)
+ log.Printf("cache: failed to insert cache key %q: %v\n", key, err)
}
}