Warn about non existant fallback
This commit is contained in:
parent
d1760dad93
commit
3aef35ccbb
@ -84,6 +84,7 @@ public class Configuration
|
|||||||
for ( ListenerInfo listener : listeners )
|
for ( ListenerInfo listener : listeners )
|
||||||
{
|
{
|
||||||
Preconditions.checkArgument( servers.containsKey( listener.getDefaultServer() ), "Default server %s is not defined", listener.getDefaultServer() );
|
Preconditions.checkArgument( servers.containsKey( listener.getDefaultServer() ), "Default server %s is not defined", listener.getDefaultServer() );
|
||||||
|
Preconditions.checkArgument( servers.containsKey( listener.getFallbackServer() ), "Fallback server %s is not defined", listener.getFallbackServer() );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user