Skip to content

Commit f338c42

Browse files
committed
Do not exit website if there is no data
1 parent 563cc7d commit f338c42

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

site/src/main.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,7 @@ async fn main() {
4242
let commits = res.index.load().commits().len();
4343
let artifacts = res.index.load().artifacts().count();
4444
if commits + artifacts == 0 {
45-
eprintln!("Loading complete but no data identified; exiting.");
46-
std::process::exit(1);
45+
eprintln!("Warning: loading complete but no data identified.");
4746
}
4847
eprintln!("Loading complete; found {} artifacts", commits + artifacts);
4948
eprintln!(

0 commit comments

Comments
 (0)