Refine code style
This commit is contained in:
@@ -372,9 +372,7 @@ class RootServer {
|
||||
write(bytes)
|
||||
} catch (_: NotSerializableException) {
|
||||
writeByte(EX_GENERIC)
|
||||
writeUTF(StringWriter().also {
|
||||
e.printStackTrace(PrintWriter(it))
|
||||
}.toString())
|
||||
writeUTF(e.stackTraceToString())
|
||||
}
|
||||
flush()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user