better info on no extensions installed
This commit is contained in:
parent
e83a580486
commit
549d7f9db3
1 changed files with 3 additions and 3 deletions
|
@ -156,9 +156,9 @@ abstract class BaseParser {
|
|||
}
|
||||
|
||||
fun checkIfVariablesAreEmpty() {
|
||||
if (hostUrl.isEmpty()) throw UninitializedPropertyAccessException("Please provide a `hostUrl` for the Parser")
|
||||
if (name.isEmpty()) throw UninitializedPropertyAccessException("Please provide a `name` for the Parser")
|
||||
if (saveName.isEmpty()) throw UninitializedPropertyAccessException("Please provide a `saveName` for the Parser")
|
||||
if (hostUrl.isEmpty()) throw UninitializedPropertyAccessException("Cannot find any installed extensions")
|
||||
if (name.isEmpty()) throw UninitializedPropertyAccessException("Cannot find any installed extensions")
|
||||
if (saveName.isEmpty()) throw UninitializedPropertyAccessException("Cannot find any installed extensions")
|
||||
}
|
||||
|
||||
open var showUserText = ""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue