Add reason when default server is not defined

This commit is contained in:
md_5 2013-04-26 17:23:04 +10:00
parent be30c8b89a
commit dc6835c21b

View File

@ -86,7 +86,7 @@ public class Configuration
for ( ListenerInfo listener : listeners ) for ( ListenerInfo listener : listeners )
{ {
Preconditions.checkArgument( servers.containsKey( listener.getDefaultServer() ) ); Preconditions.checkArgument( servers.containsKey( listener.getDefaultServer() ), "Default server %s is not defined", listener.getDefaultServer() );
} }
} }
} }