feat: version 0.0.0-working-ui
Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
@@ -47,12 +47,9 @@ pub fn initialize_panic_handler() -> anyhow::Result<()> {
|
||||
#[cfg(not(debug_assertions))]
|
||||
{
|
||||
use human_panic::{handle_dump, print_msg, Metadata};
|
||||
let meta = Metadata {
|
||||
version: env!("CARGO_PKG_VERSION").into(),
|
||||
name: env!("CARGO_PKG_NAME").into(),
|
||||
authors: env!("CARGO_PKG_AUTHORS").replace(':', ", ").into(),
|
||||
homepage: env!("CARGO_PKG_HOMEPAGE").into(),
|
||||
};
|
||||
let meta = Metadata::new(env!("CARGO_PKG_NAME"), env!("CARGO_PKG_VERSION"))
|
||||
.authors(env!("CARGO_PKG_AUTHORS").replace(':', ", "))
|
||||
.homepage(env!("CARGO_PKG_HOMEPAGE"));
|
||||
|
||||
let file_path = handle_dump(&meta, panic_info);
|
||||
// prints human-panic message
|
||||
|
Reference in New Issue
Block a user