diff rust/src/params.rs @ 629:3e5e52d50af5 rust

comment
author Matt Johnston <matt@ucc.asn.au>
date Fri, 19 Apr 2019 13:58:30 +0800
parents d5075136442f
children c57821a60e51
line wrap: on
line diff
--- a/rust/src/params.rs	Fri Apr 19 13:57:40 2019 +0800
+++ b/rust/src/params.rs	Fri Apr 19 13:58:30 2019 +0800
@@ -123,7 +123,9 @@
                 Err(TemplogError::new(&format!("Bad epoch from server '{}' expected '{}'", *le, self.epoch)))
             }
             hyper::StatusCode::NotModified => {
-                // XXX this isn't really an error
+                // XXX this isn't really an error. Should handle_response() return 
+                // Result<Option<Params>, TemplogError> instead?
+
                 Err(TemplogError::new("304 unmodified (long polling timeout at the server)"))
             },
             _ => {