fix: handle more network errors, and large refactors

This commit is contained in:
LavaDesu 2025-08-02 01:35:59 +10:00
parent ce8425d6a7
commit 8c0bff3bc4
Signed by: cilly
GPG key ID: 6500251E087653C9
8 changed files with 286 additions and 169 deletions

View file

@ -5,3 +5,8 @@ import android.util.Log
actual fun log(tag: String, msg: String) {
Log.i(tag, msg)
}
actual fun error(tag: String, msg: String, throwable: Throwable?) {
Log.e(tag, msg)
throwable?.let { Log.e(tag, it.stackTraceToString()) }
}