fortuna: rethrow on error in ctor
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
surtur 2022-02-08 00:40:11 +01:00
parent 619cb523af
commit d236c73dee
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

View File

@ -37,6 +37,7 @@ Fortuna::Fortuna() {
}
catch (CryptoPP::Exception& e) {
fmt::print(stderr, "{}\n", e.what());
throw;
// perhaps die on error
}
}