Add workaround to false positive AccountInactiveException errors
This commit is contained in:
parent
d1f65c851e
commit
609381bfee
2 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@ ext {
|
|||
moshi = "1.13.0"
|
||||
}
|
||||
|
||||
version = "2.5.7"
|
||||
version = "2.5.8-SNAPSHOT"
|
||||
group = "io.github.wulkanowy"
|
||||
|
||||
nexusPublishing {
|
||||
|
|
|
@ -93,7 +93,7 @@ internal class ErrorInterceptor(
|
|||
}
|
||||
}
|
||||
|
||||
doc.select(".panel.wychowawstwo.pracownik.klient").let {
|
||||
doc.select(".panel.wychowawstwo.pracownik.klient:not([style])").let {
|
||||
if ("Brak uprawnień" in it.select(".name").text()) {
|
||||
throw AccountInactiveException(it.select(".additionalText").text())
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue