mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2024-12-29 10:11:08 -06:00
enhance diagnostics for driver loader
This commit is contained in:
parent
0df40113e8
commit
9c91ad7136
@ -63,6 +63,7 @@ public class SimpleServiceLoader<T> {
|
||||
providers = new LinkedHashMap<>();
|
||||
|
||||
loader.stream().forEach(provider -> {
|
||||
logger.trace("loading provider: " + provider.type());
|
||||
Class<? extends T> type = provider.type();
|
||||
if (!type.isAnnotationPresent(Service.class)) {
|
||||
throw new RuntimeException(
|
||||
|
Loading…
Reference in New Issue
Block a user