module now dies with a message if bootstrap_client has not been called
[Evergreen.git] / OpenSRF / src / perlmods / OpenSRF / Utils / SettingsClient.pm
index 60d75a8..d91b9e5 100755 (executable)
@@ -32,6 +32,7 @@ sub config_value {
 
 
        my $bsconfig = OpenSRF::Utils::Config->current;
+       die "No bootstrap config exists.  Have you bootstrapped?\n" unless $bsconfig;
        my $host = $bsconfig->env->hostname;
 
        if($we_cache) {