panic on errors in hot-reload if no error handler socket is connected

This commit is contained in:
Evan Almloff committed 2022-07-01 09:01:15 -05:00
1 parent 5c767ececd
commit f0655a11ad
6 files changed
+84 -52

No files matched your search

+2
View File
@@ -86,6 +86,8 @@ impl DesktopController {
(serde_json::to_string(&err).unwrap() + "\n").as_bytes(),
)
.unwrap();
} else {
panic!("{}", err);
}
}
}