diff options
author | Kamil Trzciński <ayufan@ayufan.eu> | 2019-03-01 13:57:13 +0300 |
---|---|---|
committer | Kamil Trzciński <ayufan@ayufan.eu> | 2019-03-01 13:57:13 +0300 |
commit | 89a50d1d1ed8354b114d9e4aeadc0a2d82dbffa5 (patch) | |
tree | ab882444936fbc9c8127858ec8905f38919e046a /internal/domain | |
parent | 4e76dfe52232b100321ca65f9e511dde7dc7d832 (diff) |
Support disk-based zip archives
Diffstat (limited to 'internal/domain')
-rw-r--r-- | internal/domain/domain.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/domain/domain.go b/internal/domain/domain.go index 3d7bc42d..8a4c159a 100644 --- a/internal/domain/domain.go +++ b/internal/domain/domain.go @@ -366,6 +366,7 @@ func (d *D) ServeFileHTTP(w http.ResponseWriter, r *http.Request) bool { store, err := storage.New(project) if err != nil { + println(err.Error()) httperrors.Serve500(w) return true } @@ -393,6 +394,7 @@ func (d *D) ServeNotFoundHTTP(w http.ResponseWriter, r *http.Request) { store, err := storage.New(project) if err != nil { + println(err.Error()) httperrors.Serve500(w) return } |