Merge "oops: fix warning about catching polymorphic exception" into main
This commit is contained in:
commit
0800a81a95
1 changed files with 1 additions and 1 deletions
|
@ -479,7 +479,7 @@ struct curlFileTransfer : public FileTransfer
|
|||
{
|
||||
try {
|
||||
stopWorkerThread();
|
||||
} catch (nix::Error e) {
|
||||
} catch (nix::Error & e) {
|
||||
// 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.
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue