Unify exception handling style

This commit is contained in:
Robbert van der Helm
2021-08-07 13:17:03 +02:00
parent 9160de6483
commit 1883888ec6
4 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -671,7 +671,7 @@ class AdHocSocketHandler {
secondary_socket.connect(endpoint);
return callback(secondary_socket);
} catch (const boost::system::system_error& e) {
} catch (const boost::system::system_error&) {
// So, what do we do when noone is listening on the endpoint
// yet? This can happen with plugin groups when the Wine
// host process does an `audioMaster()` call before the
@@ -699,7 +699,7 @@ class AdHocSocketHandler {
} else {
// Rethrow the exception if the sockets we're not
// handling the specific case described above
throw e;
throw;
}
}
}