Files
spring-boot-microservices-p…/openfeign-demo/output/02-error-handling.txt
T

13 lines
665 B
Plaintext

StudentClient.findById(99) [default decoder]
exception : feign.FeignException$NotFound
status : 404
message : [404] during [GET] to [http://student-service/api/students/99] [StudentClient#findById(int)]: [{"detail":"No student with id 99","status":404,"title":"Not Found"}]
DecodedStudentClient.findById(99) [custom ErrorDecoder]
exception : com.ankurm.feign.client.StudentNotFoundException
message : 404 from DecodedStudentClient#findById(int) (http://localhost:18367/api/students/99)
DecodedStudentClient.findById(503) [custom decoder delegates non-404 to the default]
exception : feign.FeignException$ServiceUnavailable
status : 503