mirror of https://github.com/hykilpikonna/AquaDX
[F] mai2 error response
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…
Reference in New Issue