We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
monitors
NotFound
1 parent ab6c009 commit ca28e17Copy full SHA for ca28e17
src/lib.rs
@@ -511,8 +511,12 @@ impl Builder {
511
) {
512
Ok(monitors) => monitors,
513
Err(e) => {
514
- log_error!(logger, "Failed to read channel monitors: {}", e.to_string());
515
- panic!("Failed to read channel monitors: {}", e.to_string());
+ if e.kind() == std::io::ErrorKind::NotFound {
+ Vec::new()
516
+ } else {
517
+ log_error!(logger, "Failed to read channel monitors: {}", e.to_string());
518
+ panic!("Failed to read channel monitors: {}", e.to_string());
519
+ }
520
}
521
};
522
0 commit comments