Add logging for hystrix fallback
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
# This way you get to see the exceptions when the fallback is accessed
|
||||
logging.level.com.netflix.hystrix.AbstractCommand: DEBUG
|
||||
@@ -2,11 +2,9 @@ package demo;
|
||||
|
||||
import static org.junit.Assert.assertEquals;
|
||||
import static org.junit.Assert.assertNotNull;
|
||||
import static org.junit.Assert.assertTrue;
|
||||
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.beans.factory.annotation.Value;
|
||||
import org.springframework.boot.test.IntegrationTest;
|
||||
import org.springframework.boot.test.SpringApplicationConfiguration;
|
||||
|
||||
Reference in New Issue
Block a user