summaryrefslogtreecommitdiff
path: root/src/lib/curl_uploader.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-07-09 21:55:15 +0200
committerCarl Hetherington <cth@carlh.net>2025-07-10 20:50:32 +0200
commit7a4763153548619b379222d5c22d10b238ba0ac3 (patch)
tree9388ed2352aec643e938727bbbc9c9155d9092fb /src/lib/curl_uploader.cc
parent9e90111e53a0b0739d0789afd26f29e63f803917 (diff)
Convert some paths to string.
Diffstat (limited to 'src/lib/curl_uploader.cc')
-rw-r--r--src/lib/curl_uploader.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/curl_uploader.cc b/src/lib/curl_uploader.cc
index 753c66496..791bdb3fa 100644
--- a/src/lib/curl_uploader.cc
+++ b/src/lib/curl_uploader.cc
@@ -99,7 +99,7 @@ CurlUploader::upload_file(boost::filesystem::path from, boost::filesystem::path
dcp::File file(from, "rb");
if (!file) {
- throw NetworkError(String::compose(_("Could not open %1 to send"), from));
+ throw NetworkError(String::compose(_("Could not open %1 to send"), from.string()));
}
_file = file.get();
_transferred = &transferred;