mirror of
https://github.com/Cyrix126/gupaxx.git
synced 2024-11-16 15:27:46 +00:00
feat: print error on console when request for private stats fail to help user.
Some checks failed
CI / ci (macos-latest) (push) Has been cancelled
CI / ci (ubuntu-latest) (push) Has been cancelled
Rust / fmt (push) Has been cancelled
Rust / test (macos-latest) (push) Has been cancelled
Rust / test (ubuntu-latest) (push) Has been cancelled
Rust / typo (push) Has been cancelled
Rust / clippy (macos-latest) (push) Has been cancelled
Rust / clippy (ubuntu-latest) (push) Has been cancelled
Rust / check (macos-latest) (push) Has been cancelled
Rust / check (ubuntu-latest) (push) Has been cancelled
Rust / doc (macos-latest) (push) Has been cancelled
Rust / doc (ubuntu-latest) (push) Has been cancelled
Typo / typo (push) Has been cancelled
Some checks failed
CI / ci (macos-latest) (push) Has been cancelled
CI / ci (ubuntu-latest) (push) Has been cancelled
Rust / fmt (push) Has been cancelled
Rust / test (macos-latest) (push) Has been cancelled
Rust / test (ubuntu-latest) (push) Has been cancelled
Rust / typo (push) Has been cancelled
Rust / clippy (macos-latest) (push) Has been cancelled
Rust / clippy (ubuntu-latest) (push) Has been cancelled
Rust / check (macos-latest) (push) Has been cancelled
Rust / check (ubuntu-latest) (push) Has been cancelled
Rust / doc (macos-latest) (push) Has been cancelled
Rust / doc (ubuntu-latest) (push) Has been cancelled
Typo / typo (push) Has been cancelled
This commit is contained in:
parent
3c010f6e2b
commit
a401c5202a
1 changed files with 4 additions and 1 deletions
|
@ -93,7 +93,10 @@ impl XvbPrivStats {
|
|||
);
|
||||
output_console(
|
||||
&mut lock!(gui_api).output,
|
||||
&format!("Failure to retrieve private stats from {}", XVB_URL),
|
||||
&format!(
|
||||
"Failure to retrieve private stats from {} because of this error: {}",
|
||||
XVB_URL, err
|
||||
),
|
||||
ProcessName::Xvb,
|
||||
);
|
||||
lock!(process).state = ProcessState::Retry;
|
||||
|
|
Loading…
Reference in a new issue