Improve panic messaging and process behavior.

- Replaced main() to use custom panic hook
- Updated log formatting
- Switched to panic=abort, since we don't need to unwind now.
- Process will now abort if any thread panics.
This commit is contained in:
Lucien Greathouse
2020-03-12 15:42:56 -07:00
parent fe0ca280a1
commit eb8964e1d1
4 changed files with 84 additions and 48 deletions

1
Cargo.lock generated
View File

@@ -1665,6 +1665,7 @@ dependencies = [
name = "rojo"
version = "0.6.0-alpha.2"
dependencies = [
"backtrace 0.3.45 (registry+https://github.com/rust-lang/crates.io-index)",
"criterion 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
"crossbeam-channel 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
"csv 1.1.3 (registry+https://github.com/rust-lang/crates.io-index)",