These are chat archives for spring-cloud/spring-cloud

21st
Nov 2015
hacbq
@hacbq
Nov 21 2015 03:10

Hello every body, can I config common Hystrix Ignore Exception. Now each methods, I have to clone code

@HystrixCommand(ignoreExceptions = { BaseException.class, MissingServletRequestParameterException.class, TypeMismatchException.class })

:worried:

Spencer Gibb
@spencergibb
Nov 21 2015 04:29
the only way to do that is not use @HystrixCommand and use the api directly.
hacbq
@hacbq
Nov 21 2015 04:32
:worried: thank you