diff options
author | Christian Pointner <equinox@helsinki.at> | 2016-07-22 21:12:08 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2016-07-22 21:12:08 (GMT) |
commit | e4d83aa48815fd57ddbec24f7028e132b96219df (patch) | |
tree | ddb5531d7ae35e71c618cd2f75bd136c9f813faa | |
parent | a4588ab0c505b79caf8858cac06a9b8fb58ac81c (diff) |
added debug output
-rw-r--r-- | src/rhimportd/uploadWeb.go | 1 |
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 } |