lib/{curl,upnp}: add more exception handlers
Bugs found by Coverity.
This commit is contained in:
@@ -140,7 +140,11 @@ private:
|
||||
void OnDeferredStart() noexcept {
|
||||
assert(!done);
|
||||
|
||||
request.Start();
|
||||
try {
|
||||
request.Start();
|
||||
} catch (...) {
|
||||
OnError(std::current_exception());
|
||||
}
|
||||
}
|
||||
|
||||
/* virtual methods from CurlResponseHandler */
|
||||
|
Reference in New Issue
Block a user