Skip to content

Commit 43f26fa

Browse files
Update src/Common/ProxyConfiguration.h
Co-authored-by: Konstantin Bogdanov <[email protected]>
1 parent 00dee9e commit 43f26fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Common/ProxyConfiguration.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ struct ProxyConfiguration
3232

3333
if (str.empty())
3434
throw Exception(ErrorCodes::BAD_ARGUMENTS, "Empty protocol in the URL");
35-
else
36-
throw Exception(ErrorCodes::BAD_ARGUMENTS, "Unknown protocol in the URL: {}", str);
35+
36+
throw Exception(ErrorCodes::BAD_ARGUMENTS, "Unknown protocol in the URL: {}", str);
3737
}
3838

3939
static auto protocolToString(Protocol protocol)

0 commit comments

Comments
 (0)