Index: rmt.scm ================================================================== --- rmt.scm +++ rmt.scm @@ -243,13 +243,11 @@ (vector #t '()))) (success (vector-ref resdat 0)) (res (vector-ref resdat 1)) (duration (- (current-milliseconds) start))) (if (and read-only qry-is-write) - (begin - (debug:print 0 *default-log-port* "ERROR: attempt to write to read-only database ignored. cmd=" cmd) - )) + (debug:print 0 *default-log-port* "ERROR: attempt to write to read-only database ignored. cmd=" cmd)) (if (not success) (if (> remretries 0) (begin (debug:print-error 0 *default-log-port* "local query failed. Trying again.") (thread-sleep! (/ (random 5000) 1000)) ;; some random delay