From 94da9293f63e46712b0a890e1e0eab4153fdb3f9 Mon Sep 17 00:00:00 2001 From: Philipp Tanlak Date: Wed, 15 Nov 2023 16:31:50 +0100 Subject: Add file download functionality --- modules/cache/sqlitestore.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/cache/sqlitestore.go') 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) } } -- cgit v1.2.3