e.printStackTrace()

This commit is contained in:
Him188 2019-11-20 19:39:26 +08:00
parent 2b1725b7f4
commit c1785ca4bb

View File

@ -76,6 +76,7 @@ suspend fun main() {
image.downloadTo(newTestTempFile(suffix = ".png").also { reply("Temp file: ${it.absolutePath}") })
reply(image.id.value + " downloaded")
} catch (e: Exception) {
e.printStackTrace()
reply(e.message ?: e::class.java.simpleName)
}
}