diff --git a/src/main/java/com/project/bumawiki/global/error/ErrorResponse.java b/src/main/java/com/project/bumawiki/global/error/ErrorResponse.java index 38520f55..9775c360 100644 --- a/src/main/java/com/project/bumawiki/global/error/ErrorResponse.java +++ b/src/main/java/com/project/bumawiki/global/error/ErrorResponse.java @@ -11,10 +11,10 @@ public class ErrorResponse { private String message; public String toString() { - return "{\n" + - "\t\"status\": " + status + - "\n\t\"code\": " + code + - "\n\t\"message\": " + message + - "\n}"; + return "{" + + "\n\t\"status\": " + status + "," + + "\n\t\"code\": \" " + code + "\"," + + "\n\t\"message\": \" " + message + "\"" + \n}"; } }