mirror of
https://github.com/MewoLab/AquaDX.git
synced 2025-10-25 20:12:39 +00:00
[F] mai2 error response
This commit is contained in:
parent
b3fcf8dd5e
commit
32fcc25ea4
@ -278,7 +278,7 @@ class Maimai2ServletController(
|
||||
}
|
||||
} catch (e: ApiException) {
|
||||
logger.warn("Mai2 > $api : ${e.code} - ${e.message}")
|
||||
return ResponseEntity.status(e.code).body("""{"returnCode":${e.code},"apiName":"com.sega.maimai2servlet.api.$api","message":"${e.message}"}""")
|
||||
return ResponseEntity.status(e.code).body("""{"returnCode":0,"apiName":"com.sega.maimai2servlet.api.$api","message":"${e.message?.replace("\"", "\\\"")} - ${e.code}"}""")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user