Commit c1785ca4 authored by Him188's avatar Him188

e.printStackTrace()

parent 2b1725b7
...@@ -76,6 +76,7 @@ suspend fun main() { ...@@ -76,6 +76,7 @@ suspend fun main() {
image.downloadTo(newTestTempFile(suffix = ".png").also { reply("Temp file: ${it.absolutePath}") }) image.downloadTo(newTestTempFile(suffix = ".png").also { reply("Temp file: ${it.absolutePath}") })
reply(image.id.value + " downloaded") reply(image.id.value + " downloaded")
} catch (e: Exception) { } catch (e: Exception) {
e.printStackTrace()
reply(e.message ?: e::class.java.simpleName) reply(e.message ?: e::class.java.simpleName)
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment