Skip to content

Commit 88466b2

Browse files
committed
Fixup error syntax (otherwise FatalError via FormatError)
1 parent 00b7758 commit 88466b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extension/httpfs/httpfs.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,7 @@ void HTTPFileHandle::FullDownload(HTTPFileSystem &hfs, bool &should_write_cache)
536536
// Try to fully download the file first
537537
const auto full_download_result = hfs.GetRequest(*this, path, {});
538538
if (full_download_result->status != HTTPStatusCode::OK_200) {
539-
throw HTTPException(*full_download_result, "Full download failed to to URL \"%s\": %s (%s)",
539+
throw HTTPException(*full_download_result, "Full download failed to to URL \"%s\": %d (%s)",
540540
full_download_result->url, static_cast<int>(full_download_result->status),
541541
full_download_result->GetError());
542542
}

0 commit comments

Comments
 (0)