Skip to content

Commit 47abb57

Browse files
committed
chore: add detail for logs
[skip ci]
1 parent 8a03d19 commit 47abb57

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/functions/get_tranco.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ namespace duckdb
105105
{
106106
remove (temp_file.c_str ()); // Clean up the temporary file
107107
LogMessage ("ERROR", "Failed to download Tranco list: " + std::string (curl_easy_strerror (res)));
108-
throw std::runtime_error ("Failed to download Tranco list.");
108+
throw std::runtime_error ("Failed to download Tranco list. Check logs for details.");
109109
}
110110
}
111111
}

src/utils/utils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ namespace duckdb
4747
if (res != CURLE_OK)
4848
{
4949
LogMessage ("ERROR", "Failed to download public suffix list: " + std::string (curl_easy_strerror (res)));
50-
throw std::runtime_error ("Failed to download public suffix list.");
50+
throw std::runtime_error ("Failed to download public suffix list. Check logs for details.");
5151
}
5252
}
5353

0 commit comments

Comments
 (0)