fortuna: rethrow on error in ctor
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
619cb523af
commit
d236c73dee
@ -37,6 +37,7 @@ Fortuna::Fortuna() {
|
|||||||
}
|
}
|
||||||
catch (CryptoPP::Exception& e) {
|
catch (CryptoPP::Exception& e) {
|
||||||
fmt::print(stderr, "{}\n", e.what());
|
fmt::print(stderr, "{}\n", e.what());
|
||||||
|
throw;
|
||||||
// perhaps die on error
|
// perhaps die on error
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user