1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-01 20:51:48 +02:00
This commit is contained in:
Eelco Dolstra 2016-09-20 17:49:31 +02:00
parent f12d56b27b
commit beaefdf706
3 changed files with 5 additions and 8 deletions

View file

@ -98,11 +98,7 @@ struct CurlDownloader : public Downloader
{
assert(!done);
done = true;
try {
throw e;
} catch (...) {
callFailure(failure);
}
callFailure(failure, std::make_exception_ptr(e));
}
size_t writeCallback(void * contents, size_t size, size_t nmemb)