Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Trzciński <ayufan@ayufan.eu>2019-03-01 13:57:13 +0300
committerKamil Trzciński <ayufan@ayufan.eu>2019-03-01 13:57:13 +0300
commit89a50d1d1ed8354b114d9e4aeadc0a2d82dbffa5 (patch)
treeab882444936fbc9c8127858ec8905f38919e046a /internal/domain
parent4e76dfe52232b100321ca65f9e511dde7dc7d832 (diff)
Support disk-based zip archives
Diffstat (limited to 'internal/domain')
-rw-r--r--internal/domain/domain.go2
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
}