mirror of
https://github.com/n0-computer/noq.git
synced 2026-09-21 18:53:27 +00:00
String panic messages
These can be more reliably displayed in useful ways.
This commit is contained in:
committed by
Dirkjan Ochtman
parent
ef91537e73
commit
e6e1019725
@@ -1018,7 +1018,7 @@ fn test_flow_control(config: TransportConfig, window_size: usize) {
|
||||
break;
|
||||
}
|
||||
Err(e) => {
|
||||
panic!(e);
|
||||
panic!("{}", e);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1049,7 +1049,7 @@ fn test_flow_control(config: TransportConfig, window_size: usize) {
|
||||
break;
|
||||
}
|
||||
Err(e) => {
|
||||
panic!(e);
|
||||
panic!("{}", e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user