mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-21 01:39:51 +00:00
Enhance check for internal errors.
This commit is contained in:
parent
7937ca5fa1
commit
c6861282f3
2 changed files with 16 additions and 1 deletions
|
@ -332,7 +332,8 @@ public final class ParserUtils
|
|||
return false;
|
||||
}
|
||||
|
||||
private static final Pattern P_INTERNAL_ERROR = Pattern.compile(">\\s*(Server ein Fehler aufgetreten|Internal error in gateway)\\s*<");
|
||||
private static final Pattern P_INTERNAL_ERROR = Pattern
|
||||
.compile(">\\s*(Internal Error|Server ein Fehler aufgetreten|Internal error in gateway|VRN - Keine Verbindung zum Server m.glich)\\s*<");
|
||||
|
||||
public static boolean testInternalError(final String content)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue