bool isError(String txt) { return txt.contains("Internal Server Error") || !txt.split("\n")[0].toLowerCase().contains("scheme"); }