diff options
author | Christopher Baines <mail@cbaines.net> | 2021-12-22 12:00:18 +0000 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2021-12-22 12:00:18 +0000 |
commit | 9f5b8b7fbc4dc57481b191e705fc15d6bec1ebed (patch) | |
tree | c1ee6c876906454baba8226631d21fdf1666f7d6 /guix-build-coordinator/agent-messaging/http.scm | |
parent | 6bc12db75a358b8cd03fd3193a0a51cb22a5d6e2 (diff) | |
download | build-coordinator-9f5b8b7fbc4dc57481b191e705fc15d6bec1ebed.tar build-coordinator-9f5b8b7fbc4dc57481b191e705fc15d6bec1ebed.tar.gz |
Improve still more to send log message
Diffstat (limited to 'guix-build-coordinator/agent-messaging/http.scm')
-rw-r--r-- | guix-build-coordinator/agent-messaging/http.scm | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/guix-build-coordinator/agent-messaging/http.scm b/guix-build-coordinator/agent-messaging/http.scm index ede0743..531df57 100644 --- a/guix-build-coordinator/agent-messaging/http.scm +++ b/guix-build-coordinator/agent-messaging/http.scm @@ -308,9 +308,10 @@ ;; Check if the server has all the bytes (unless (and bytes (eq? bytes file-size)) - (log 'DEBUG "still more to send (bytes: " file-size - ", partial upload bytes: " partial-upload-bytes - ", completed upload bytes: " completed-upload-bytes) + (when bytes + (log 'DEBUG "still more to send (bytes: " file-size + ", partial upload bytes: " partial-upload-bytes + ", completed upload bytes: " completed-upload-bytes ")")) ;; Still more to send (call-with-input-file file |