Use proper error handling instead of lurking panics everywhere
This commit is contained in:
1 parent
999987d157
commit
214ffef6f3
11 files changed
+349
-392
No files matched your search
@@ -18,7 +18,7 @@ pub struct ReflectorSelector {
|
||||
}
|
||||
|
||||
impl ReflectorSelector {
|
||||
pub fn run(&self) {
|
||||
pub fn run(&self) -> anyhow::Result<()> {
|
||||
let mut selector_sleep_time = Duration::new(30, 0);
|
||||
let mut reselection_count = 0;
|
||||
let baseline_sleep_time = Duration::new(
|
||||
|
||||
Reference in new issue
Block a user