Merge "oops: fix warning about catching polymorphic exception" into main

This commit is contained in:
jade 2024-08-07 19:06:54 +00:00 committed by Gerrit Code Review
commit 0800a81a95

View file

@ -479,7 +479,7 @@ struct curlFileTransfer : public FileTransfer
{ {
try { try {
stopWorkerThread(); stopWorkerThread();
} catch (nix::Error e) { } catch (nix::Error & e) {
// This can only fail if a socket to our own process cannot be // This can only fail if a socket to our own process cannot be
// written to, so it is always a bug in the program if it fails. // written to, so it is always a bug in the program if it fails.
// //