Add debug for readUnexpectedStderr

This commit is contained in:
Mygod
2021-05-31 13:25:01 -04:00
parent 8e33ab77d7
commit c3f5f43b02

View File

@@ -101,6 +101,7 @@ class RootServer {
private fun readUnexpectedStderr(): String? { private fun readUnexpectedStderr(): String? {
if (!this::process.isInitialized) return null if (!this::process.isInitialized) return null
Logger.me.d("Attempting to read stderr")
var available = process.errorStream.available() var available = process.errorStream.available()
return if (available <= 0) null else String(ByteArrayOutputStream().apply { return if (available <= 0) null else String(ByteArrayOutputStream().apply {
try { try {