fo bo 머지작업 - 오류수정

This commit is contained in:
jazz
2025-11-28 10:27:51 +09:00
parent c7fd1750dd
commit 03a5491ed2
14 changed files with 109 additions and 36 deletions

View File

@@ -27,14 +27,16 @@ public class WnbtResponseBody {
.setSerializationInclusion(JsonInclude.Include.NON_NULL); // null 값 제외
public WnbtResponseBody(Object result) {
try{
this.result = OBJECT_MAPPER.writeValueAsString(result);
} catch (JsonProcessingException e) {
log.error(e.getMessage());
throw new WnbtRestException(ErrorCode.INTERNAL_SERVER_ERROR);
}
}
public WnbtResponseBody(WnbtRestException ex, Object result) {
this.result = result;
}