Add workaround to false positive AccountInactiveException errors

This commit is contained in:
Mikołaj Pich 2024-04-25 09:26:28 +02:00
parent d1f65c851e
commit 609381bfee
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -18,7 +18,7 @@ ext {
moshi = "1.13.0"
}
version = "2.5.7"
version = "2.5.8-SNAPSHOT"
group = "io.github.wulkanowy"
nexusPublishing {

View file

@ -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())
}