We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
monitors
NotFound
1 parent 319f4ae commit 0f30534Copy full SHA for 0f30534
1 file changed
src/lib.rs
@@ -473,8 +473,12 @@ impl Builder {
473
) {
474
Ok(monitors) => monitors,
475
Err(e) => {
476
- log_error!(logger, "Failed to read channel monitors: {}", e.to_string());
477
- panic!("Failed to read channel monitors: {}", e.to_string());
+ if e.kind() == std::io::ErrorKind::NotFound {
+ Vec::new()
478
+ } else {
479
+ log_error!(logger, "Failed to read channel monitors: {}", e.to_string());
480
+ panic!("Failed to read channel monitors: {}", e.to_string());
481
+ }
482
}
483
};
484
0 commit comments