aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/util.hh
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2022-12-02 15:03:40 +0100
committerEelco Dolstra <edolstra@gmail.com>2022-12-02 15:03:40 +0100
commitfa99ef6a879e77024d60e73901a4773c6756c1bb (patch)
tree7ab6b1ab024a25c790b073210ccaf62af53681bd /src/libutil/util.hh
parent1e6a5d1ff6e8ef5bf340502f74c4d5039cedc67a (diff)
getMaxCPU(): Lower verbosity level for ignored exceptions
Fixes #7268.
Diffstat (limited to 'src/libutil/util.hh')
-rw-r--r--src/libutil/util.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/util.hh b/src/libutil/util.hh
index e5c678682..94d8cc555 100644
--- a/src/libutil/util.hh
+++ b/src/libutil/util.hh
@@ -528,7 +528,7 @@ std::string shellEscape(const std::string_view s);
/* Exception handling in destructors: print an error message, then
ignore the exception. */
-void ignoreException();
+void ignoreException(Verbosity lvl = lvlError);