X-Git-Url: https://code.wpia.club/?a=blobdiff_plain;f=src%2Fconfig.cpp;h=a4d32848ecb7de4e3e4609adc5a83e997d927d47;hb=6121035a7d8ea738bc89c2de8e6602fb1099b0e2;hp=164e0bbadef6e43eb989ddfad665833bfc4594a9;hpb=156855b7e12c3a0254590da514b0d0e8efe469f4;p=cassiopeia.git diff --git a/src/config.cpp b/src/config.cpp index 164e0bb..a4d3284 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -23,7 +23,7 @@ std::shared_ptr> 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 );