add temp forge analyzer
This commit is contained in:
parent
b1d9fe18c9
commit
631e729fd1
1 changed files with 14 additions and 0 deletions
14
src/logs.ts
14
src/logs.ts
|
@ -148,6 +148,19 @@ const optifineAnalyzer: analyzer = async (text) => {
|
|||
return null;
|
||||
};
|
||||
|
||||
const tempForge119IssueAnalyzer: analyzer = async (text) => {
|
||||
const matches = text.match(
|
||||
/Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException\n.at MC-BOOTSTRAP\/cpw.mods.modlauncher@[0-9]\.[0-9]\.[0-9]\/cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch\(LaunchServiceHandlerDecorator.java:[0-9]*\)/
|
||||
);
|
||||
if (matches) {
|
||||
return [
|
||||
'Forge 1.19 issues',
|
||||
'We are working on a fix for this issue. For now, using Forge on 1.19 in PolyMC is only possible on Linux, MacOS M1 and Windows 32-bit',
|
||||
];
|
||||
}
|
||||
return null;
|
||||
};
|
||||
|
||||
const analyzers: analyzer[] = [
|
||||
javaAnalyzer,
|
||||
versionAnalyzer,
|
||||
|
@ -159,6 +172,7 @@ const analyzers: analyzer[] = [
|
|||
oomAnalyzer,
|
||||
shenadoahGCAnalyzer,
|
||||
optifineAnalyzer,
|
||||
tempForge119IssueAnalyzer,
|
||||
];
|
||||
|
||||
const providers: logProvider[] = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue