mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 08:11:33 +11:00
fix url to point to us
This commit is contained in:
parent
1c9e829bd1
commit
a65f6402be
|
@ -14,7 +14,7 @@ mod text;
|
|||
static WEBSITE: &str = {
|
||||
match core::option_env!("AGBRS_BACKTRACE_WEBSITE") {
|
||||
Some(x) => x,
|
||||
None => "",
|
||||
None => "https://agbrs.dev/crash#",
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -30,7 +30,7 @@ pub fn render_backtrace(trace: &backtrace::Frames, info: &PanicInfo) -> ! {
|
|||
let qrcode_string_data = if WEBSITE.is_empty() {
|
||||
format!("{trace}")
|
||||
} else {
|
||||
format!("{WEBSITE}#{trace}")
|
||||
format!("{WEBSITE}{trace}")
|
||||
};
|
||||
crate::println!("Stack trace: {qrcode_string_data}");
|
||||
|
||||
|
|
Loading…
Reference in a new issue