From 884ad120c9487d62403e29a61bc167a39f616c5f Mon Sep 17 00:00:00 2001 From: Tueem Date: Tue, 3 Feb 2026 08:16:10 +0100 Subject: [PATCH] fix(upload): add some logging and cleanup --- internal/server/http.go | 1 - pkg/svg/storage.go | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/server/http.go b/internal/server/http.go index c489c98..ab2c96e 100644 --- a/internal/server/http.go +++ b/internal/server/http.go @@ -27,7 +27,6 @@ func Start() { if err := http.ListenAndServe(":3000", nil); err != nil { panic(err) } - } func registerAuthorized(path string, f func(w http.ResponseWriter, r *http.Request)) { diff --git a/pkg/svg/storage.go b/pkg/svg/storage.go index cd026cf..0531469 100644 --- a/pkg/svg/storage.go +++ b/pkg/svg/storage.go @@ -21,6 +21,7 @@ func NewFileStorage(path string) *FileSvgStorage { if err != nil { panic(err) } + log.Println("Initialized file storage handler") return &FileSvgStorage{path} }