Do not crash application when a single painter fails, just reconnect

This commit is contained in:
timvisee
2018-12-28 22:33:35 +01:00
parent 74d3f16bc8
commit 4f5a0b9274
3 changed files with 31 additions and 14 deletions

View File

@@ -31,8 +31,8 @@ fn start<'a>(arg_handler: &ArgHandler<'a>) {
println!("Starting... (use CTRL+C to stop)");
// Gather facts about the host
let screen_size =
gather_host_facts(&arg_handler).expect("Failed to gather facts about pixelflut server");
let screen_size = gather_host_facts(&arg_handler)
.expect("Failed to gather facts about pixelflut server");
// Determine the size to use
let size = arg_handler.size(Some(screen_size));