ktd icon indicating copy to clipboard operation
ktd copied to clipboard

Remove prints from loadTdlib

Open perseus-me opened this issue 5 years ago • 1 comments

Function loadTdlib has noisy prints and I can't disable it. Eg:

println("Try to load tdlib as library")
...
it.printStackTrace()
println("Try to load tdlib from artifact")
...
it.printStackTrace()
println("Try to load tdlib from local path: $path")
...
println("Can't load tdlib")

Maybe remove this lines?

perseus-me avatar Jun 30 '20 10:06 perseus-me

Yes, good catch, it was useful during testing and understanding what goes wrong from users. Better to replace it with some custom exceptions in next release.

whyoleg avatar Jun 30 '20 11:06 whyoleg