Merge pull request #11600 from DeterminateSystems/fix-uncaught-exception

HttpBinaryCacheStore::getFile(): Fix uncaught exception
This commit is contained in:
Eelco Dolstra 2024-09-27 12:37:12 +02:00 committed by GitHub
commit 08deebddf2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -169,10 +169,6 @@ protected:
{
try {
checkEnabled();
} catch (...) {
callback.rethrow();
return;
}
auto request(makeRequest(path));
@ -191,6 +187,11 @@ protected:
callbackPtr->rethrow();
}
}});
} catch (...) {
callback.rethrow();
return;
}
}
/**