]> git.ipfire.org Git - thirdparty/snapper.git/commitdiff
- better error messages
authorArvin Schnell <aschnell@suse.de>
Tue, 10 May 2011 14:46:22 +0000 (16:46 +0200)
committerArvin Schnell <aschnell@suse.de>
Tue, 10 May 2011 14:46:22 +0000 (16:46 +0200)
snapper/Snapper.cc

index 07b283abff86a66ce7075bb8e66d3b79e416a4cf..5b705a183244d098122b7f4f38d567fe969ba183 100644 (file)
@@ -546,7 +546,7 @@ namespace snapper
 
        if (config_name.empty() || config_name.find_first_of(" \t") != string::npos)
        {
-           throw AddConfigFailedException("illegal config");
+           throw AddConfigFailedException("illegal config name");
        }
 
        if (!boost::starts_with(subvolume, "/"))
@@ -581,7 +581,7 @@ namespace snapper
                       quote(CONFIGSDIR "/" + config_name));
        if (cmd1.retcode() != 0)
        {
-           throw AddConfigFailedException("copying template failed");
+           throw AddConfigFailedException("copying config template failed");
        }
 
        try