chiark / gitweb /
error / panic handling
[hippotat.git] / server / suser.rs
index c2f11ff09cbc73a5d4d7eb9b421972d375f3a9a4..69bbf877bf49829ce7c8520f0cb27b2ffae2c142 100644 (file)
@@ -35,7 +35,11 @@ pub async fn run(global: Arc<Global>,
     response: WebResponse
   | {
     reply_to.send(response)
-      .unwrap_or_else(|_: WebResponse| () /* oh dear */ /* xxx trace? */);
+      .unwrap_or_else(|_: WebResponse| {
+        /* oh dear */
+        error!("unable to send response back to webserver! user={}",
+               &ic.link.client);
+      });
   };
 
   loop {
@@ -202,5 +206,4 @@ pub async fn run(global: Arc<Global>,
       }
     }
   }
-  //Err(anyhow!("xxx"))
 }