return empty model if JMX not available instead of throwing exception
This commit is contained in:
@@ -230,7 +230,7 @@ public abstract class AbstractSpringBootApp implements SpringBootApp {
|
||||
return cachedBeansModel;
|
||||
|
||||
} else {
|
||||
throw new Exception("not getting any beans from app");
|
||||
return LiveBeansModel.builder().build();
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user