We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 095ff84 commit fab4a6eCopy full SHA for fab4a6e
tests/runtime_tests.cpp
@@ -44,6 +44,9 @@ struct LambdaRuntimeTest : public ::testing::Test {
44
Aws::Client::ClientConfiguration config;
45
config.requestTimeoutMs = REQUEST_TIMEOUT;
46
config.region = Aws::Environment::GetEnv("AWS_REGION");
47
+ if (config.region.empty()) {
48
+ throw std::invalid_argument("environment variable AWS_REGION not set");
49
+ }
50
return config;
51
}
52
0 commit comments