File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
tokio-postgres/tests/test Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -577,7 +577,7 @@ async fn notices() {
577
577
. unwrap ( ) ;
578
578
579
579
let ( tx, rx) = mpsc:: unbounded ( ) ;
580
- let stream = stream:: poll_fn ( move |cx| connection. poll_message ( cx) ) . map_err ( |e| panic ! ( e) ) ;
580
+ let stream = stream:: poll_fn ( move |cx| connection. poll_message ( cx) ) . map_err ( |e| panic ! ( "{}" , e) ) ;
581
581
let connection = stream. forward ( tx) . map ( |r| r. unwrap ( ) ) ;
582
582
tokio:: spawn ( connection) ;
583
583
@@ -612,7 +612,7 @@ async fn notifications() {
612
612
let ( client, mut connection) = connect_raw ( "user=postgres" ) . await . unwrap ( ) ;
613
613
614
614
let ( tx, rx) = mpsc:: unbounded ( ) ;
615
- let stream = stream:: poll_fn ( move |cx| connection. poll_message ( cx) ) . map_err ( |e| panic ! ( e) ) ;
615
+ let stream = stream:: poll_fn ( move |cx| connection. poll_message ( cx) ) . map_err ( |e| panic ! ( "{}" , e) ) ;
616
616
let connection = stream. forward ( tx) . map ( |r| r. unwrap ( ) ) ;
617
617
tokio:: spawn ( connection) ;
618
618
You can’t perform that action at this time.
0 commit comments