From d236c73deed048ce2a84df5d6710aeaedf5ef9a4 Mon Sep 17 00:00:00 2001 From: surtur Date: Tue, 8 Feb 2022 00:40:11 +0100 Subject: [PATCH] fortuna: rethrow on error in ctor --- fortuna.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/fortuna.cpp b/fortuna.cpp index 27cb0a3..eed023d 100644 --- a/fortuna.cpp +++ b/fortuna.cpp @@ -37,6 +37,7 @@ Fortuna::Fortuna() { } catch (CryptoPP::Exception& e) { fmt::print(stderr, "{}\n", e.what()); + throw; // perhaps die on error } }