Add reason when default server is not defined
This commit is contained in:
parent
be30c8b89a
commit
dc6835c21b
@ -86,7 +86,7 @@ public class Configuration
|
||||
|
||||
for ( ListenerInfo listener : listeners )
|
||||
{
|
||||
Preconditions.checkArgument( servers.containsKey( listener.getDefaultServer() ) );
|
||||
Preconditions.checkArgument( servers.containsKey( listener.getDefaultServer() ), "Default server %s is not defined", listener.getDefaultServer() );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user