Currently job artifacts in CI/CD pipelines on LRZ GitLab never expire. Starting from Wed 26.1.2022 the default expiration time will be 30 days (GitLab default). Currently existing artifacts in already completed jobs will not be affected by the change. The latest artifacts for all jobs in the latest successful pipelines will be kept. More information: https://gitlab.lrz.de/help/user/admin_area/settings/continuous_integration.html#default-artifacts-expiration

Commit 5e616f21 authored by Michael Ott's avatar Michael Ott
Browse files

Make REST API exceptions verbose

parent a79ffd56
......@@ -89,7 +89,8 @@ RESTHttpsServer::RESTHttpsServer(serverSettings_t settings) :
} catch (const std::exception& e) {
ServerLOG(fatal) << "Could not load certificate OR private key settings file! "
"Please ensure the paths in the config file are valid!";
throw;
std::runtime_error re("RESTAPI config error");
throw re;
}
// 2048bit Diffie-Hellman parameters from RFC3526
......@@ -107,7 +108,8 @@ RESTHttpsServer::RESTHttpsServer(serverSettings_t settings) :
_acceptor->set_option(tcp::acceptor::reuse_address(true));
} catch (const std::exception& e) {
ServerLOG(fatal) << "RestAPI address invalid! Please make sure IP address and port are valid!";
throw;
std::runtime_error re("RESTAPI config error");
throw re;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment