diff options
author | jade <lix@jade.fyi> | 2024-08-07 19:06:54 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@localhost> | 2024-08-07 19:06:54 +0000 |
commit | 0800a81a9506463fd46fd8a22b9996488fc268a3 (patch) | |
tree | 75e02bde1d0b837daddcefc86ec18477e4bdba01 | |
parent | ec7552ff7411592305d28ec4bfcb4ea55866ab36 (diff) | |
parent | d280e4990cd44a694621405b0a68c80707c25e89 (diff) |
Merge "oops: fix warning about catching polymorphic exception" into main
-rw-r--r-- | src/libstore/filetransfer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/filetransfer.cc b/src/libstore/filetransfer.cc index 566dc65d4..9cb805444 100644 --- a/src/libstore/filetransfer.cc +++ b/src/libstore/filetransfer.cc @@ -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. // |