diff options
| author | Julian Hurst <ark@mansus.space> | 2025-01-25 14:17:16 +0100 |
|---|---|---|
| committer | Julian Hurst <ark@mansus.space> | 2025-01-25 14:17:16 +0100 |
| commit | 7b81f3c7687d1f55410a88298e89c53ab14e41c1 (patch) | |
| tree | dc11e1a2f6b348f19281cacd2ad0deb8d1ba1a04 | |
| parent | f94c28db9714ac19934b7f104780aeaa9bd0ee64 (diff) | |
| download | box-7b81f3c7687d1f55410a88298e89c53ab14e41c1.tar.gz | |
Don't print error on notfound
| -rw-r--r-- | main.go | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -58,7 +58,6 @@ func (handler BoxHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) { if errors.Is(err, fs.ErrNotExist) { log.Println(err) w.WriteHeader(http.StatusNotFound) - fmt.Fprint(w, err) return } else if err != nil { log.Println(err) |
