fix: fixed the bot crashing when booting to generate a new config file
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
This commit is contained in:
parent
6b048d0991
commit
be7dcd80e4
1 changed files with 6 additions and 0 deletions
|
@ -85,6 +85,12 @@ object CredentialManager {
|
||||||
prop.setProperty("dbPassword", "empty")
|
prop.setProperty("dbPassword", "empty")
|
||||||
prop.store(output, null)
|
prop.store(output, null)
|
||||||
output.close()
|
output.close()
|
||||||
|
|
||||||
|
token = "empty"
|
||||||
|
dbDomain = "empty"
|
||||||
|
dbName = "empty"
|
||||||
|
dbUser = "empty"
|
||||||
|
dbPassword = "empty"
|
||||||
} catch (e: IOException) {
|
} catch (e: IOException) {
|
||||||
e.printStackTrace()
|
e.printStackTrace()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue