Commit 8311247c authored by Firewayer's avatar Firewayer

result.error回调object转为String

parent 19b1c101
package com.idlefish.flutterboost;
import android.os.Handler;
import android.util.Log;
import androidx.annotation.Nullable;
import com.idlefish.flutterboost.interfaces.IContainerRecord;
......@@ -212,7 +214,7 @@ public class FlutterBoostPlugin {
} catch (Throwable t) {
result.error("no flutter page found!", t.getMessage(), t);
result.error("no flutter page found!", t.getMessage(), Log.getStackTraceString(t));
}
}
break;
......@@ -231,7 +233,7 @@ public class FlutterBoostPlugin {
}
});
} catch (Throwable t) {
result.error("open page error", t.getMessage(), t);
result.error("open page error", t.getMessage(), Log.getStackTraceString(t));
}
}
break;
......@@ -244,7 +246,7 @@ public class FlutterBoostPlugin {
mManager.closeContainer(uniqueId, resultData, exts);
result.success(true);
} catch (Throwable t) {
result.error("close page error", t.getMessage(), t);
result.error("close page error", t.getMessage(), Log.getStackTraceString(t));
}
}
break;
......@@ -256,7 +258,7 @@ public class FlutterBoostPlugin {
mManager.onShownContainerChanged(newId, oldId);
result.success(true);
} catch (Throwable t) {
result.error("onShownContainerChanged", t.getMessage(), t);
result.error("onShownContainerChanged", t.getMessage(), Log.getStackTraceString(t));
}
}
break;
......
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