diff --git a/src/Promise.hpp b/src/Promise.hpp index cb97407..5085e33 100644 --- a/src/Promise.hpp +++ b/src/Promise.hpp @@ -190,7 +190,7 @@ namespace pipedal ReleaseFunctions(); if (cancelled) { - throw std::logic_error("Cancelled."); + throw std::logic_error("Canceled."); } if (rejected) { diff --git a/src/Tone3000Downloader.cpp b/src/Tone3000Downloader.cpp index 8ceb91c..b452dd9 100644 --- a/src/Tone3000Downloader.cpp +++ b/src/Tone3000Downloader.cpp @@ -150,7 +150,7 @@ public: virtual const char *what() const noexcept override { std::exception::what(); - return "Cancelled."; + return "Canceled."; } }; @@ -1124,7 +1124,7 @@ std::string Tone3000DownloaderImpl::DownloadTone3000Files( // { // if (isCancelled()) // { - // throw std::runtime_error("Cancelled"); + // throw std::runtime_error("Canceled"); // } // size_t thisTime = models.size() - downloadIndex; // thisTime = Tone3000Throttler::instance().ReserveDownloadSlots(thisTime); @@ -1159,7 +1159,7 @@ std::string Tone3000DownloaderImpl::DownloadTone3000Files( // if (isCancelled()) // { - // throw std::runtime_error("Cancelled"); + // throw std::runtime_error("Canceled"); // } // if (result != 200) @@ -1198,7 +1198,7 @@ std::string Tone3000DownloaderImpl::DownloadTone3000Files( // std::this_thread::sleep_for(std::chrono::milliseconds(1000)); // if (isCancelled()) // { - // throw std::runtime_error("Cancelled"); + // throw std::runtime_error("Canceled"); // } // } // if (CurlGet(imageUrl, imageFile.Path(), &imageHeaders) == 200) diff --git a/vite/src/pipedal/UploadFileDialog.tsx b/vite/src/pipedal/UploadFileDialog.tsx index 3f11ede..29fbbac 100644 --- a/vite/src/pipedal/UploadFileDialog.tsx +++ b/vite/src/pipedal/UploadFileDialog.tsx @@ -173,7 +173,7 @@ export default class UploadFileDialog extends ResizeResponsiveComponent