summaryrefslogtreecommitdiff
path: root/src/buildtool/execution_api/remote/config.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildtool/execution_api/remote/config.hpp')
-rw-r--r--src/buildtool/execution_api/remote/config.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildtool/execution_api/remote/config.hpp b/src/buildtool/execution_api/remote/config.hpp
index 42d0be80..0d674220 100644
--- a/src/buildtool/execution_api/remote/config.hpp
+++ b/src/buildtool/execution_api/remote/config.hpp
@@ -39,7 +39,6 @@ using Port = type_safe_arithmetic<PortTag>;
if (port_num >= 0 and port_num <= kMaxPortNumber) {
return gsl::narrow_cast<Port::value_t>(port_num);
}
-
} catch (std::out_of_range const& e) {
Logger::Log(LogLevel::Error, "Port raised out_of_range exception.");
}
@@ -56,6 +55,7 @@ using Port = type_safe_arithmetic<PortTag>;
}
return std::nullopt;
}
+
class RemoteExecutionConfig {
public:
struct ServerAddress {