From c344879b8eba3c1d23e743b2c54688f3d1e99b0b Mon Sep 17 00:00:00 2001 From: Tianyu Liu Date: Tue, 21 Jan 2025 15:44:00 -0500 Subject: [PATCH] Update --- cpp/src/shim/utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/src/shim/utils.cpp b/cpp/src/shim/utils.cpp index 1f1aaf8ead..de7ec6a875 100644 --- a/cpp/src/shim/utils.cpp +++ b/cpp/src/shim/utils.cpp @@ -65,7 +65,7 @@ bool run_udev_readable() noexcept { try { return std::filesystem::is_directory("/run/udev"); - } catch (const std::filesystem::filesystem_error&) { + } catch (...) { return false; } }