Minor log parsing bug fixes (#402)
* fix java arg logic * fix missing libraries detection for discord attached files * change `\r\n` to `\n` in the entire log instead --------- Co-authored-by: maskers <97827489+mskrss@users.noreply.github.com>
This commit is contained in:
parent
fcbdab43d8
commit
342f85c963
2 changed files with 4 additions and 2 deletions
|
@ -123,9 +123,9 @@ fn java_option(log: &str) -> Issue {
|
|||
|
||||
if let Some(captures) = vm_option.captures(log) {
|
||||
let title = if &captures[1] == "UseShenandoahGC" {
|
||||
"Wrong Java Arguments"
|
||||
} else {
|
||||
"Java 8 and below don't support ShenandoahGC"
|
||||
} else {
|
||||
"Wrong Java Arguments"
|
||||
};
|
||||
return Some((
|
||||
title.to_string(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue