Remove } from error message

This commit is contained in:
Mikołaj Pich 2019-10-03 21:36:30 +02:00
parent c5b5ccbded
commit d6b4e129f8
No known key found for this signature in database
GPG key ID: F62B26E36D4C4BAA

View file

@ -20,7 +20,7 @@ class NotLoggedInErrorInterceptor(private val loginType: LoginType) : Intercepto
if (chain.request().url().toString().contains("/Start.mvc/Get")) {
doc.select(".errorBlock").let {
if (it.isNotEmpty()) throw NotLoggedInException("${it.select(".errorTitle").text()}}")
if (it.isNotEmpty()) throw NotLoggedInException(it.select(".errorTitle").text())
}
}