summaryrefslogtreecommitdiff
path: root/src/rhimportd
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2016-07-22 21:12:08 (GMT)
committerChristian Pointner <equinox@helsinki.at>2016-07-22 21:12:08 (GMT)
commite4d83aa48815fd57ddbec24f7028e132b96219df (patch)
treeddb5531d7ae35e71c618cd2f75bd136c9f813faa /src/rhimportd
parenta4588ab0c505b79caf8858cac06a9b8fb58ac81c (diff)
added debug output
Diffstat (limited to 'src/rhimportd')
-rw-r--r--src/rhimportd/uploadWeb.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rhimportd/uploadWeb.go b/src/rhimportd/uploadWeb.go
index 224e91d..e014f71 100644
--- a/src/rhimportd/uploadWeb.go
+++ b/src/rhimportd/uploadWeb.go
@@ -146,6 +146,7 @@ func webUploadHandler(conf *rhimport.Config, db *rddb.DBChan, sessions *rhimport
cancel, attachmentChan := s.AttachUploader()
if attachmentChan == nil || cancel == nil {
+ rhl.Printf("WebUploadHandler: refusing file upload for '%s': session already uploading", srcfile)
webUploadErrorResponse(w, http.StatusForbidden, "upload already in progress")
return
}