@Override
    public boolean shouldFilter() {
        RequestContext ctx = RequestContext.getCurrentContext();
        return ctx.getThrowable() != null;
    }
@Test
    public void testShouldFilter() {
        SentinelZuulErrorFilter sentinelZuulErrorFilter = new SentinelZuulErrorFilter();
        RequestContext ctx = RequestContext.getCurrentContext();
        ctx.setThrowable(new RuntimeException());
        Assert.assertTrue(sentinelZuulErrorFilter.shouldFilter());
    }