]> WPIA git - cassiopeia.git/blobdiff - src/config.cpp
fmt: whitespace, padding and indentation formatting
[cassiopeia.git] / src / config.cpp
index 164e0bbadef6e43eb989ddfad665833bfc4594a9..a4d32848ecb7de4e3e4609adc5a83e997d927d47 100644 (file)
@@ -23,7 +23,7 @@ std::shared_ptr<std::unordered_map<std::string, std::string>> parseConf( std::st
 
     if( !config.is_open() ) {
         logger::notef( "Where is \"%s\"?", path );
-        throw std::runtime_error("Config missing");
+        throw std::runtime_error( "Config missing" );
     }
 
     std::string line1;
@@ -117,7 +117,7 @@ int parseProfiles() {
 
             closedir( dir );
         } else {
-            throw std::runtime_error("Directory with CAConfigs not found");
+            throw std::runtime_error( "Directory with CAConfigs not found" );
         }
 
         profiles.emplace( profileName, prof );