Skip to content

Commit

Permalink
#33 [Fix] Exception RestClientException 메시지 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
JSoi committed Jul 20, 2022
1 parent 5e93864 commit 8203bb5
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.mpnp.baechelin.exception;

import com.fasterxml.jackson.core.JsonProcessingException;
import io.jsonwebtoken.ExpiredJwtException;
import io.jsonwebtoken.MalformedJwtException;
import io.jsonwebtoken.UnsupportedJwtException;
Expand Down Expand Up @@ -52,7 +53,7 @@ protected ResponseEntity<ErrorResponse> handleUnsupportedJwtException(Unsupporte

@ExceptionHandler(value = RestClientException.class)
protected ResponseEntity<ErrorResponse> handleUnsupportedJwtException(RestClientException e) {
log.error("지원되지 않는 형식이나 구성의 JWT 토큰입니다.");
log.error("API 로드에 실패했습니다");
return ErrorResponse.toResponseEntity(ErrorCode.API_LOAD_FAILURE);
}
}

0 comments on commit 8203bb5

Please sign in to comment.