File tree 2 files changed +4
-3
lines changed
src/main/kotlin/com/github/zly2006/xbackup
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -42,8 +42,8 @@ object XBackup : ModInitializer {
42
42
private val configPath = FabricLoader .getInstance().configDir.resolve(" x-backup.config.json" )
43
43
val log = LoggerFactory .getLogger(" XBackup" )!!
44
44
const val MOD_VERSION = /* $ mod_version*/ " 0.3.8-pre.1"
45
- const val GIT_COMMIT = /* $ git_commit*/ " 3527deb "
46
- const val COMMIT_DATE = /* $ commit_date*/ " 2024-12-21T15:51:36 +08:00"
45
+ const val GIT_COMMIT = /* $ git_commit*/ " c43b180 "
46
+ const val COMMIT_DATE = /* $ commit_date*/ " 2024-12-21T18:00:51 +08:00"
47
47
lateinit var service: BackupDatabaseService
48
48
lateinit var server: MinecraftServer
49
49
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ import com.github.zly2006.xbackup.api.XBackupKotlinAsyncApi
6
6
import io.ktor.client.*
7
7
import io.ktor.client.call.*
8
8
import io.ktor.client.request.*
9
+ import io.ktor.client.statement.bodyAsText
9
10
import io.ktor.http.*
10
11
import io.ktor.util.*
11
12
import io.ktor.util.cio.*
@@ -113,7 +114,7 @@ class OnedriveSupport(
113
114
)
114
115
}
115
116
require(response.status.isSuccess()) {
116
- " Failed to get upload session: ${response.status} "
117
+ " Failed to get upload session: ${response.status} \n ${response.bodyAsText()} "
117
118
}
118
119
log.info(" Received upload session from reden api" )
119
120
response.body<JsonObject >()
You can’t perform that action at this time.
0 commit comments